[SDL] [PATCH] Allocate SDL_NUM_SCANCODES entries in keystate

James Jones cuban at lowfidelity.net
Thu Feb 7 12:12:09 PST 2008


It looks like the keystate array is used as an array of booleans but
declared as a massive bitfield.  Keyboard events were overwriting the
keymap.  This patch changes the declaration to match the implementation.

If this is the wrong place to submit patches, could someone point me to the
correct forum?

Thanks,
-James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: SDL_keyboard_c.h.diff
Type: application/octet-stream
Size: 354 bytes
Desc: not available
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20080207/62da3a67/attachment-0007.obj>


More information about the SDL mailing list