[SDL] My thoughts on keyboard input in SDL 1.3
Rainer Deyke
rainerd at eldwood.com
Fri Jan 25 19:30:37 PST 2008
Bob Pendleton wrote:
> One more issue with what I outlined, does
>
> SDL_GetLayoutKey(SDLK_KP_1) == SDLK_KP_1
>
> or does
>
> SDL_GetLayoutKey(SDLK_KP_1) == the Unicode code point for "1"?
The latter is wrong! Keypad 1 is *not* the same as 1. In my games, I
want to map the keypad to the arrow keys and use the numbers on the
keyboard for other functionality. SDL should support this choice.
--
Rainer Deyke - rainerd at eldwood.com
More information about the SDL
mailing list