commit | 304ff3c7280a53b7cbadfa83eaeda458ff5959d1 | [log] [tgz] |
---|---|---|
author | Aric Stewart <aric@codeweavers.com> | Wed Aug 06 08:04:36 2008 -0500 |
committer | Alexandre Julliard <julliard@winehq.org> | Wed Aug 20 13:58:25 2008 +0200 |
tree | f6b046cfa0d42ff945bc0a5ce02d3d15e9e2744e | |
parent | 0a1a4f7ca8903e7aa827e6abec121d58f99b4b9a [diff] |
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.