src/video/windx5/SDL_dx5events.c
changeset 327 13fc64213765
parent 325 1b5457c0a8ad
child 332 3d6dd1b7b7ba
--- a/src/video/windx5/SDL_dx5events.c	Sun Mar 31 03:34:11 2002 +0000
+++ b/src/video/windx5/SDL_dx5events.c	Sun Mar 31 03:34:16 2002 +0000
@@ -625,6 +625,9 @@
 #ifndef DIK_PAUSE
 #define DIK_PAUSE	0xC5
 #endif
+#ifndef DIK_OEM_102
+#define DIK_OEM_102	0x56	/* < > | on UK/Germany keyboards */
+#endif
 	int i;
 
 	/* Map the DIK scancodes to SDL keysyms */
@@ -675,6 +678,7 @@
 	DIK_keymap[DIK_GRAVE] = SDLK_BACKQUOTE;
 	DIK_keymap[DIK_LSHIFT] = SDLK_LSHIFT;
 	DIK_keymap[DIK_BACKSLASH] = SDLK_BACKSLASH;
+	DIK_keymap[DIK_OEM_102] = SDLK_BACKSLASH;
 	DIK_keymap[DIK_Z] = SDLK_z;
 	DIK_keymap[DIK_X] = SDLK_x;
 	DIK_keymap[DIK_C] = SDLK_c;