Home
last modified time | relevance | path

Searched refs:modstate (Results 1 – 8 of 8) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/events/
DSDL_keyboard.c352 void SDL_SetModState (SDLMod modstate) in SDL_SetModState() argument
354 SDL_ModState = modstate; in SDL_SetModState()
377 Uint16 modstate; in SDL_PrivateKeyboard() local
386 modstate = (Uint16)SDL_ModState; in SDL_PrivateKeyboard()
391 keysym->mod = (SDLMod)modstate; in SDL_PrivateKeyboard()
396 modstate ^= KMOD_NUM; in SDL_PrivateKeyboard()
397 if ( ! (modstate&KMOD_NUM) ) in SDL_PrivateKeyboard()
399 keysym->mod = (SDLMod)modstate; in SDL_PrivateKeyboard()
402 modstate ^= KMOD_CAPS; in SDL_PrivateKeyboard()
403 if ( ! (modstate&KMOD_CAPS) ) in SDL_PrivateKeyboard()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/epoc/
DSDL_epocevents.cpp154 TUint modstate = KMOD_NONE; in EPOC_HandleWsEvent() local
156 modstate |= KMOD_LSHIFT; in EPOC_HandleWsEvent()
158 modstate |= KMOD_RSHIFT; in EPOC_HandleWsEvent()
160 modstate |= KMOD_LCTRL; in EPOC_HandleWsEvent()
162 modstate |= KMOD_RCTRL; in EPOC_HandleWsEvent()
164 modstate |= KMOD_LALT; in EPOC_HandleWsEvent()
166 modstate |= KMOD_RALT; in EPOC_HandleWsEvent()
168 modstate |= KMOD_LMETA; in EPOC_HandleWsEvent()
170 modstate |= KMOD_RMETA; in EPOC_HandleWsEvent()
172 modstate |= KMOD_CAPS; in EPOC_HandleWsEvent()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/svga/
DSDL_svgaevents.c347 SDLMod modstate; in TranslateKey() local
349 modstate = SDL_GetModState(); in TranslateKey()
351 if ( modstate & KMOD_SHIFT ) { in TranslateKey()
354 if ( modstate & KMOD_CTRL ) { in TranslateKey()
357 if ( modstate & KMOD_ALT ) { in TranslateKey()
360 if ( modstate & KMOD_MODE ) { in TranslateKey()
364 if ( modstate & KMOD_CAPS ) { in TranslateKey()
369 if ( modstate & KMOD_NUM ) { in TranslateKey()
390 SDLMod modstate; in TranslateKey() local
392 modstate = SDL_GetModState(); in TranslateKey()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/x11/
DSDL_x11events.c1290 SDLMod modstate; in X11_SetKeyboardState() local
1302 modstate = 0; in X11_SetKeyboardState()
1307 modstate |= KMOD_CAPS; in X11_SetKeyboardState()
1310 modstate |= KMOD_MODE; in X11_SetKeyboardState()
1313 modstate |= KMOD_NUM; in X11_SetKeyboardState()
1339 modstate |= KMOD_LSHIFT; in X11_SetKeyboardState()
1342 modstate |= KMOD_RSHIFT; in X11_SetKeyboardState()
1345 modstate |= KMOD_LCTRL; in X11_SetKeyboardState()
1348 modstate |= KMOD_RCTRL; in X11_SetKeyboardState()
1351 modstate |= KMOD_LALT; in X11_SetKeyboardState()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/vgl/
DSDL_vglevents.c279 SDLMod modstate; in TranslateKey() local
281 modstate = SDL_GetModState(); in TranslateKey()
283 if ( modstate & KMOD_SHIFT ) { in TranslateKey()
286 if ( modstate & KMOD_CTRL ) { in TranslateKey()
289 if ( modstate & KMOD_ALT ) { in TranslateKey()
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/
DSDL_gsevents.c947 SDLMod modstate; in TranslateKey() local
949 modstate = SDL_GetModState(); in TranslateKey()
951 if ( modstate & KMOD_SHIFT ) { in TranslateKey()
954 if ( modstate & KMOD_CTRL ) { in TranslateKey()
957 if ( modstate & KMOD_ALT ) { in TranslateKey()
960 if ( modstate & KMOD_MODE ) { in TranslateKey()
964 if ( modstate & KMOD_CAPS ) { in TranslateKey()
969 if ( modstate & KMOD_NUM ) { in TranslateKey()
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/
DSDL_fbevents.c1215 SDLMod modstate; in TranslateKey() local
1217 modstate = SDL_GetModState(); in TranslateKey()
1219 if ( modstate & KMOD_SHIFT ) { in TranslateKey()
1222 if ( modstate & KMOD_CTRL ) { in TranslateKey()
1225 if ( modstate & KMOD_LALT ) { in TranslateKey()
1228 if ( modstate & KMOD_RALT ) { in TranslateKey()
1232 if ( modstate & KMOD_CAPS ) { in TranslateKey()
1237 if ( modstate & KMOD_NUM ) { in TranslateKey()
/external/qemu/distrib/sdl-1.2.12/include/
DSDL_keyboard.h107 extern DECLSPEC void SDLCALL SDL_SetModState(SDLMod modstate);