DirectX Keymap - DIK_OEM_102

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

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;

I think there was a particular keyboard on which it was a backslash…
I’m okay with your proposed change, but can anyone else who has this key
comment on this?

Thanks!
-Sam Lantinga, Software Engineer, Blizzard Entertainment