Home | History | Annotate | Download | only in aalib

Lines Matching refs:keysym

36 /* The translation tables from a console scancode to a SDL keysym */
39 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym);
47 SDL_keysym keysym;
109 posted += SDL_PrivateKeyboard(SDL_PRESSED, TranslateKey(evt, &keysym));
114 posted += SDL_PrivateKeyboard(SDL_RELEASED, TranslateKey(evt, &keysym));
184 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym)
190 /* Set the keysym information */
191 keysym->scancode = scancode;
192 keysym->sym = keymap[scancode];
193 keysym->mod = KMOD_NONE;
196 keysym->unicode = 0;
199 keysym->unicode = scancode;
201 return(keysym);