Commit 0dce07bc by Corentin Wallez

X11Window: Add missing handling of Keypad's '5' key.

BUG=angleproject:891 Change-Id: Icb0dc3449db6982979a93a394fb9e0c58413a256 Reviewed-on: https://chromium-review.googlesource.com/285836Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Tested-by: 's avatarCorentin Wallez <cwallez@chromium.org>
parent b29690a6
...@@ -89,6 +89,7 @@ static Key X11CodeToKey(Display *display, unsigned int scancode) ...@@ -89,6 +89,7 @@ static Key X11CodeToKey(Display *display, unsigned int scancode)
case XK_KP_Down: return KEY_NUMPAD2; case XK_KP_Down: return KEY_NUMPAD2;
case XK_KP_Page_Down:return KEY_NUMPAD3; case XK_KP_Page_Down:return KEY_NUMPAD3;
case XK_KP_Left: return KEY_NUMPAD4; case XK_KP_Left: return KEY_NUMPAD4;
case XK_KP_5: return KEY_NUMPAD5;
case XK_KP_Right: return KEY_NUMPAD6; case XK_KP_Right: return KEY_NUMPAD6;
case XK_KP_Home: return KEY_NUMPAD7; case XK_KP_Home: return KEY_NUMPAD7;
case XK_KP_Up: return KEY_NUMPAD8; case XK_KP_Up: return KEY_NUMPAD8;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment