Hello,
in SDL_dx5events.c:
both DIK_OEM_102 and DIK_BACKSLASH are mapped to SDLK_BACKSLASH:
DIK_keymap[DIK_BACKSLASH] = SDLK_BACKSLASH;
DIK_keymap[DIK_OEM_102] = SDLK_BACKSLASH;
On my (AZERTY) keyboard, this key is mapped to ‘<’, as asserted by a
comment at the beginning of the method:
#define DIK_OEM_102 0x56 /* < > | on UK/Germany keyboards /
(and in dinput.h:
#define DIK_OEM_102 0x56 / <> or | on RT 102-key keyboard (Non-U.S.) */)
Furthermore, DIK_BACKSLASH is also present on my keyboard, so I cannot
differentiate between these two keys (apart by using the raw
scancodes)
Shouldn’t this be changed to
DIK_keymap[DIK_OEM_102] = SDLK_LESS; ?
Thanks,
Cedric