Ticket #9172: sdl_map_keypad_divide_period.patch
File sdl_map_keypad_divide_period.patch, 542 bytes (added by , 15 years ago) |
---|
-
backends/platform/sdl/events.cpp
55 55 return key - SDLK_F1 + Common::ASCII_F1; 56 56 } else if (key >= SDLK_KP0 && key <= SDLK_KP9) { 57 57 return key - SDLK_KP0 + '0'; 58 } else if (key >= SDLK_KP_PERIOD && key <= SDLK_KP_DIVIDE) { 59 return key - 220; 58 60 } else if (key >= SDLK_UP && key <= SDLK_PAGEDOWN) { 59 61 return key; 60 62 } else if (unicode) {