зеркало из https://github.com/AvaloniaUI/angle.git
X11Window: Add missing handling of Keypad's '5' key.
BUG=angleproject:891 Change-Id: Icb0dc3449db6982979a93a394fb9e0c58413a256 Reviewed-on: https://chromium-review.googlesource.com/285836 Reviewed-by: Jamie Madill <jmadill@chromium.org> Tested-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Родитель
b29690a62a
Коммит
0dce07bc7d
|
@ -89,6 +89,7 @@ static Key X11CodeToKey(Display *display, unsigned int scancode)
|
|||
case XK_KP_Down: return KEY_NUMPAD2;
|
||||
case XK_KP_Page_Down:return KEY_NUMPAD3;
|
||||
case XK_KP_Left: return KEY_NUMPAD4;
|
||||
case XK_KP_5: return KEY_NUMPAD5;
|
||||
case XK_KP_Right: return KEY_NUMPAD6;
|
||||
case XK_KP_Home: return KEY_NUMPAD7;
|
||||
case XK_KP_Up: return KEY_NUMPAD8;
|
||||
|
|
Загрузка…
Ссылка в новой задаче