dinput: the DIK_ keycode is not the same as the scancode.

Aric Stewart aric at codeweavers.com
Tue Jul 22 04:23:28 CDT 2008

It is mapped with the keyboard mapping to the resulting character. so 
the key 'A' is DIK_A nomatter what its scancode or vkey would be. This 
is relevent to Japanese keymapping where the '@' key is in the '[' 
location the scancode for both is 0x22 but dinput generates DIK_AT in 
japanese and DIK_LBRACKET in us_qwerty

  dlls/dinput/keyboard.c |   69 
  1 files changed, 68 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 384ab752ddaa76985fac89914f728b00ab3e25bf.diff
Type: text/x-patch
Size: 2936 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080722/a56d6023/attachment.bin 

More information about the wine-patches mailing list