winex11.drv: Map VK codes for arrow keys to an X11 keycode manually as we do for other keypad keys.
This commit is contained in:
parent
063c42cfa6
commit
d949867ded
|
@ -2393,6 +2393,9 @@ INT X11DRV_ToUnicodeEx(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
|
|||
}
|
||||
}
|
||||
|
||||
if (virtKey >= VK_LEFT && virtKey <= VK_DOWN)
|
||||
e.keycode = XKeysymToKeycode(e.display, virtKey - VK_LEFT + XK_Left);
|
||||
|
||||
if ((virtKey>=VK_NUMPAD0) && (virtKey<=VK_NUMPAD9))
|
||||
e.keycode = XKeysymToKeycode(e.display, virtKey-VK_NUMPAD0+XK_KP_0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue