Home
last modified time | relevance | path

Searched refs:kstate (Results 1 – 3 of 3) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/gem/
DSDL_gemevents.c71 short kstate, prevkc, prevks; in GEM_PumpEvents() local
103 &dummy,&dummy,&dummy,&kstate,&kc,&dummy in GEM_PumpEvents()
112 if ((prevkc != kc) || (prevks != kstate)) { in GEM_PumpEvents()
113 do_keyboard(kc,kstate); in GEM_PumpEvents()
136 graf_mkstate(&mousex, &mousey, &mouseb, &kstate); in GEM_PumpEvents()
137 do_mouse(this, mousex, mousey, mouseb, kstate); in GEM_PumpEvents()
/external/qemu/distrib/sdl-1.2.12/src/video/wincommon/
DSDL_sysevents.c290 Uint8 *kstate = SDL_GetKeyState(NULL); in WIN_GetKeyboardState() local
296 kstate[SDLK_LSHIFT] = SDL_PRESSED; in WIN_GetKeyboardState()
300 kstate[SDLK_RSHIFT] = SDL_PRESSED; in WIN_GetKeyboardState()
304 kstate[SDLK_LCTRL] = SDL_PRESSED; in WIN_GetKeyboardState()
308 kstate[SDLK_RCTRL] = SDL_PRESSED; in WIN_GetKeyboardState()
312 kstate[SDLK_LALT] = SDL_PRESSED; in WIN_GetKeyboardState()
316 kstate[SDLK_RALT] = SDL_PRESSED; in WIN_GetKeyboardState()
320 kstate[SDLK_NUMLOCK] = SDL_PRESSED; in WIN_GetKeyboardState()
324 kstate[SDLK_CAPSLOCK] = SDL_PRESSED; in WIN_GetKeyboardState()
/external/qemu/distrib/sdl-1.2.12/src/video/x11/
DSDL_x11events.c1289 Uint8 *kstate = SDL_GetKeyState(NULL); in X11_SetKeyboardState() local
1318 SDL_memset(kstate, 0, SDLK_LAST); in X11_SetKeyboardState()
1336 kstate[key] = SDL_PRESSED; in X11_SetKeyboardState()
1371 kstate[SDLK_CAPSLOCK] = SDL_PRESSED; in X11_SetKeyboardState()
1373 kstate[SDLK_CAPSLOCK] = SDL_RELEASED; in X11_SetKeyboardState()
1376 kstate[SDLK_NUMLOCK] = SDL_PRESSED; in X11_SetKeyboardState()
1378 kstate[SDLK_NUMLOCK] = SDL_RELEASED; in X11_SetKeyboardState()