Mercurial > sdl-ios-xcode
view INSTALL @ 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 | 0a45995a7fc3 |
children | 00e7c6b7eb03 |
line wrap: on
line source
To compile and install SDL: 1. Run './configure; make; make install' If you are compiling for Windows using gcc, read the FAQ at: http://www.libsdl.org/faq.php?action=listentries&category=4#42 If you are compiling using Visual C++ on Win32, you should read the file VisualC.html 2. Look at the example programs in ./test, and check out the HTML documentation in ./docs to see how to use the SDL library. 3. Join the SDL developer mailing list by sending E-mail to sdl-request@libsdl.org and put "subscribe" in the subject of the message. Or alternatively you can use the web interface: http://www.libsdl.org/mailing-list.php That's it! Sam Lantinga <slouken@libsdl.org>