(resend)dinput: the DIK_ keycode is not the same as the scancode.
aric at codeweavers.com
Fri Jul 25 02:10:36 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
reworked to remove the giant case statement and hopefully be more clear.
dlls/dinput/keyboard.c | 32 +++++++++++++++++++++++++++++++-
1 files changed, 31 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2012 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080725/6a3e4854/attachment-0001.bin
More information about the wine-patches