mirror of
https://github.com/digarok/gsplus.git
synced 2024-11-28 04:49:18 +00:00
sdl key mapping - remove alternate value (eg, page up) for keypad numbers. Hitting real page-up is converted to the 3 key, for example, which is bad.
This commit is contained in:
parent
8dcbb38a62
commit
fc100dd6b6
@ -150,9 +150,9 @@ int a2_key_to_sdlkeycode[][3] = {
|
||||
{ 0x75, SDLK_DELETE, 0 },
|
||||
{ 0x77, SDLK_END, 0 },
|
||||
{ 0x79, SDLK_PAGEDOWN, 0 },
|
||||
{ 0x59, SDLK_KP_7, SDLK_HOME },
|
||||
{ 0x5b, SDLK_KP_8, SDLK_UP },
|
||||
{ 0x5c, SDLK_KP_9, SDLK_PAGEUP },
|
||||
{ 0x59, SDLK_KP_7, 0 },
|
||||
{ 0x5b, SDLK_KP_8, 0 },
|
||||
{ 0x5c, SDLK_KP_9, 0 },
|
||||
{ 0x4e, SDLK_KP_MINUS, 0 },
|
||||
{ 0x39, SDLK_CAPSLOCK, 0 },
|
||||
{ 0x00, SDLK_a, 'A' },
|
||||
@ -167,9 +167,9 @@ int a2_key_to_sdlkeycode[][3] = {
|
||||
{ 0x29, SDLK_SEMICOLON, SDLK_COLON },
|
||||
{ 0x27, SDLK_QUOTE, SDLK_QUOTEDBL },
|
||||
{ 0x24, SDLK_RETURN, 0 },
|
||||
{ 0x56, SDLK_KP_4, SDLK_LEFT},
|
||||
{ 0x56, SDLK_KP_4, 0},
|
||||
{ 0x57, SDLK_KP_5, 0 },
|
||||
{ 0x58, SDLK_KP_6, SDLK_RIGHT },
|
||||
{ 0x58, SDLK_KP_6, 0 },
|
||||
{ 0x45, SDLK_KP_PLUS, 0 },
|
||||
{ 0x38, SDLK_LSHIFT, SDLK_RSHIFT },
|
||||
{ 0x06, SDLK_z, 'Z' },
|
||||
@ -184,8 +184,8 @@ int a2_key_to_sdlkeycode[][3] = {
|
||||
{ 0x2c, SDLK_SLASH, SDLK_QUESTION },
|
||||
{ 0x3e, SDLK_UP, 0 },
|
||||
{ 0x53, SDLK_KP_1, 0 },
|
||||
{ 0x54, SDLK_KP_2, SDLK_DOWN },
|
||||
{ 0x55, SDLK_KP_3, SDLK_PAGEDOWN },
|
||||
{ 0x54, SDLK_KP_2, 0 },
|
||||
{ 0x55, SDLK_KP_3, 0 },
|
||||
{ 0x36, SDLK_RCTRL, SDLK_LCTRL },
|
||||
#if defined(__APPLE__)
|
||||
{ 0x3a, SDLK_LALT, SDLK_RALT }, /* Option */
|
||||
|
Loading…
Reference in New Issue
Block a user