• Aric Stewart's avatar
    dinput: The DIK_ keycode is not the same as the scancode. · 304ff3c7
    Aric Stewart authored
    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.
    304ff3c7
keyboard.c 17.4 KB