--- src/video/svga/SDL_svgaevents.c 2000/08/25 03:55:01 1.1 +++ src/video/svga/SDL_svgaevents.c 2000/08/29 19:58:36 @@ -42,8 +42,6 @@ #include "SDL_svgaevents_c.h" /* The translation tables from a console scancode to a SDL keysym */ -#define NUM_VGAKEYMAPS (1<sym = keymap[scancode]; keysym->mod = KMOD_NONE; - /* If UNICODE is on, get the UNICODE value for the key */ keysym->unicode = 0; if ( SDL_TranslateUNICODE ) { - int map; - SDLMod modstate; - - modstate = SDL_GetModState(); - map = 0; - if ( modstate & KMOD_SHIFT ) { - map |= (1<unicode=KVAL(vga_keymap[map][scancode]); - } - } else { - keysym->unicode = KVAL(vga_keymap[map][scancode]); - } + /* Populate the unicode field with the ASCII value */ + keysym->unicode = scancode; } return(keysym); }