winex11: Bias MapVirtualKeyEx(MAPVK_VSC_TO_VK) against numpad vkeys.
authorKen Thomases <ken@codeweavers.com>
Fri, 16 May 2008 15:37:07 +0000 (10:37 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 21 May 2008 12:26:13 +0000 (14:26 +0200)
commitc2bc0e21a2dbca935ef0a80e9e09a3ab301a128d
treefaad56e60cab2eae048a852f7ddbe4688f405e6a
parent1dcaddee9922a1a4e8cd0719b79530b2e7dbaab2
winex11: Bias MapVirtualKeyEx(MAPVK_VSC_TO_VK) against numpad vkeys.

The scan codes for the numeric keypad keys and those for the arrow keys and
keys like Home, End, etc. often match (ignoring the extended key bit).
However, if you map from one of those scan codes to a vkey, Windows reliably
prefers the non-numpad vkey.
dlls/user32/tests/input.c
dlls/winex11.drv/keyboard.c