Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/events/
A DSDL_keyboard.c45 Uint16 modstate; member
777 keyboard->modstate ^= KMOD_NUM; in SDL_SendKeyboardKeyInternal()
780 keyboard->modstate ^= KMOD_CAPS; in SDL_SendKeyboardKeyInternal()
783 keyboard->modstate |= modifier; in SDL_SendKeyboardKeyInternal()
787 keyboard->modstate &= ~modifier; in SDL_SendKeyboardKeyInternal()
799 event.key.keysym.mod = keyboard->modstate; in SDL_SendKeyboardKeyInternal()
912 return (SDL_Keymod) keyboard->modstate; in SDL_GetModState()
916 SDL_SetModState(SDL_Keymod modstate) in SDL_SetModState() argument
920 keyboard->modstate = modstate; in SDL_SetModState()
929 keyboard->modstate |= modstate; in SDL_ToggleModState()
[all …]
A DSDL_keyboard_c.h73 extern void SDL_ToggleModState(const SDL_Keymod modstate, const SDL_bool toggle);
/AliOS-Things-master/components/SDL2/include/
A DSDL_keyboard.h89 extern DECLSPEC void SDLCALL SDL_SetModState(SDL_Keymod modstate);

Completed in 8 milliseconds