Searched refs:modstate (Results 1 – 8 of 8) sorted by relevance
352 void SDL_SetModState (SDLMod modstate) in SDL_SetModState() argument354 SDL_ModState = modstate; in SDL_SetModState()377 Uint16 modstate; in SDL_PrivateKeyboard() local386 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 …]
154 TUint modstate = KMOD_NONE; in EPOC_HandleWsEvent() local156 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 …]
347 SDLMod modstate; in TranslateKey() local349 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() local392 modstate = SDL_GetModState(); in TranslateKey()[all …]
1290 SDLMod modstate; in X11_SetKeyboardState() local1302 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 …]
279 SDLMod modstate; in TranslateKey() local281 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()
947 SDLMod modstate; in TranslateKey() local949 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()
1215 SDLMod modstate; in TranslateKey() local1217 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()
107 extern DECLSPEC void SDLCALL SDL_SetModState(SDLMod modstate);