dinput: The DIK_ keycode is not the same as the scancode.
commit304ff3c7280a53b7cbadfa83eaeda458ff5959d1
authorAric Stewart <aric@codeweavers.com>
Wed, 6 Aug 2008 13:04:36 +0000 (6 08:04 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 20 Aug 2008 11:58:25 +0000 (20 13:58 +0200)
treef6b046cfa0d42ff945bc0a5ce02d3d15e9e2744e
parent0a1a4f7ca8903e7aa827e6abec121d58f99b4b9a
dinput: The DIK_ keycode is not the same as the scancode.

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 relevant 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