Searched refs:kstate (Results 1 – 2 of 2) sorted by relevance
/external/qemu/distrib/sdl-1.2.15/src/video/gem/ |
D | SDL_gemevents.c | 85 short kstate; in GEM_PumpEvents() local 106 &mousex,&mousey,&mouseb,&kstate,&kc,&dummy in GEM_PumpEvents() 115 if ((prevkc != kc) || (prevks != kstate)) { in GEM_PumpEvents() 116 do_keyboard(kc,kstate); in GEM_PumpEvents() 135 do_mouse(this, mousex, mousey, mouseb, kstate); in GEM_PumpEvents()
|
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
D | SDL_x11events.c | 1314 Uint8 *kstate = SDL_GetKeyState(NULL); in X11_SetKeyboardState() local 1343 SDL_memset(kstate, 0, SDLK_LAST); in X11_SetKeyboardState() 1361 kstate[key] = SDL_PRESSED; in X11_SetKeyboardState() 1396 kstate[SDLK_CAPSLOCK] = SDL_PRESSED; in X11_SetKeyboardState() 1398 kstate[SDLK_CAPSLOCK] = SDL_RELEASED; in X11_SetKeyboardState() 1401 kstate[SDLK_NUMLOCK] = SDL_PRESSED; in X11_SetKeyboardState() 1403 kstate[SDLK_NUMLOCK] = SDL_RELEASED; in X11_SetKeyboardState()
|