comparison src/video/windx5/SDL_dx5events.c @ 1852:eb2d5480ae95

Try to keep SDL keysyms sane regardless of keyboard layout in windib target. Fixes Bugzilla #164.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 18 May 2006 03:24:10 +0000
parents 89f90f32f6c0
children c121d94672cb a1b03ba2fcd0
comparison
equal deleted inserted replaced
1851:536b0704b7d8 1852:eb2d5480ae95
748 DIK_keymap[DIK_SEMICOLON] = SDLK_SEMICOLON; 748 DIK_keymap[DIK_SEMICOLON] = SDLK_SEMICOLON;
749 DIK_keymap[DIK_APOSTROPHE] = SDLK_QUOTE; 749 DIK_keymap[DIK_APOSTROPHE] = SDLK_QUOTE;
750 DIK_keymap[DIK_GRAVE] = SDLK_BACKQUOTE; 750 DIK_keymap[DIK_GRAVE] = SDLK_BACKQUOTE;
751 DIK_keymap[DIK_LSHIFT] = SDLK_LSHIFT; 751 DIK_keymap[DIK_LSHIFT] = SDLK_LSHIFT;
752 DIK_keymap[DIK_BACKSLASH] = SDLK_BACKSLASH; 752 DIK_keymap[DIK_BACKSLASH] = SDLK_BACKSLASH;
753 DIK_keymap[DIK_OEM_102] = SDLK_BACKSLASH; 753 DIK_keymap[DIK_OEM_102] = SDLK_LESS;
754 DIK_keymap[DIK_Z] = SDLK_z; 754 DIK_keymap[DIK_Z] = SDLK_z;
755 DIK_keymap[DIK_X] = SDLK_x; 755 DIK_keymap[DIK_X] = SDLK_x;
756 DIK_keymap[DIK_C] = SDLK_c; 756 DIK_keymap[DIK_C] = SDLK_c;
757 DIK_keymap[DIK_V] = SDLK_v; 757 DIK_keymap[DIK_V] = SDLK_v;
758 DIK_keymap[DIK_B] = SDLK_b; 758 DIK_keymap[DIK_B] = SDLK_b;