fix keypad Enter key support for SDL platform

This commit is contained in:
Vadim Lopatin 2016-01-27 09:15:16 +03:00
parent 669f19e77d
commit 2c1c88923c
1 changed files with 2 additions and 0 deletions

View File

@ -723,6 +723,8 @@ class SDLWindow : Window {
case SDLK_DOWN:
case 0x4000005a: // dirty hack for Linux - key on keypad
return KeyCode.DOWN;
case SDLK_KP_ENTER:
return KeyCode.RETURN;
case SDLK_LCTRL:
return KeyCode.LCONTROL;
case SDLK_LSHIFT: