Searched refs:kstate (Results 1 - 2 of 2) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/video/gem/
H A DSDL_gemevents.c85 short kstate; local
106 &mousex,&mousey,&mouseb,&kstate,&kc,&dummy
115 if ((prevkc != kc) || (prevks != kstate)) {
116 do_keyboard(kc,kstate);
135 do_mouse(this, mousex, mousey, mouseb, kstate);
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
H A DSDL_x11events.c1314 Uint8 *kstate = SDL_GetKeyState(NULL); local
1343 SDL_memset(kstate, 0, SDLK_LAST);
1361 kstate[key] = SDL_PRESSED;
1396 kstate[SDLK_CAPSLOCK] = SDL_PRESSED;
1398 kstate[SDLK_CAPSLOCK] = SDL_RELEASED;
1401 kstate[SDLK_NUMLOCK] = SDL_PRESSED;
1403 kstate[SDLK_NUMLOCK] = SDL_RELEASED;

Completed in 152 milliseconds