What is this?
+ if (aKeyState[code] & KEY_RELEASED)
+ {
+ aKeyState[code] &= ~KEY_RELEASED;
+ }
+ if (aKeyState[code] & KEY_RELEASED)
+ {
+ aKeyState[code] &= ~KEY_RELEASED;
+ }Also: This shall not be an "else if"? + lastKeydown = frameGetFrameNumber(); Shouldn't this be "lastKeydown = CurrFrameNum;"? And: Why can't SDL be used directly? (We just have another layer above the input...) --Dennis
pgp3uQEINCeiy.pgp
Description: PGP signature
_______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
