Mercurial > sdl-ios-xcode
view README.Symbian @ 4172:48f1406df2a8 SDL-1.2
Fixed bug #675
Description From maf6@cornell.edu 2009-01-10 14:07:52 (-) [reply]
Assuming the SDL project doesn't just want to pick these up from dinput8.lib or
whatever instead, the definitions in SDL_dx5video.c should be:
const DIDATAFORMAT c_dfDIKeyboard = { sizeof(DIDATAFORMAT),
sizeof(DIOBJECTDATAFORMAT), 0x00000002, 256, 256, KBD_fmt };
const DIDATAFORMAT c_dfDIMouse = { sizeof(DIDATAFORMAT),
sizeof(DIOBJECTDATAFORMAT), 0x00000002, 16, 7, PTR_fmt };
const DIDATAFORMAT c_dfDIJoystick = { sizeof(DIDATAFORMAT),
sizeof(DIOBJECTDATAFORMAT), 0x00000001, 80, 44, JOY_fmt };
This way the call to IDirectInputDevice2_SetDataFormat in SDL_dx5events.c will
succeed on x64.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 13 Apr 2009 08:49:41 +0000 |
parents | ce8046809062 |
children |
line wrap: on
line source
============================================================================== Using the Simple DirectMedia Layer with S60 3.x / Symbian 9.x ============================================================================== These instuctions are for people developing for S60 3.x. S60 3.x uses Symbian OS so you need S60 SDK. extract "symbian.zip" into this folder. go to symbian folder bldmake bldfiles abld build That produces WINSCW and ARMV5 versions of sdl.dll runtime library and sdl.lib for development. The sdlexe.dll/sdlexe.lib and sdlmain.lib are for easy SDL S60 integration, please see http://www.mbnet.fi/~mertama/sdl.html for further info.