Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/video/haiku/
A DSDL_bkeyboard.cc42 static int8 keystate[KEYMAP_SIZE]; variable
50 keystate[i] = SDL_RELEASED; in HAIKU_InitOSKeymap()
172 return keystate[bkey]; in HAIKU_GetKeyState()
180 keystate[bkey] = state; in HAIKU_SetKeyState()
/AliOS-Things-master/components/SDL2/src/events/
A DSDL_keyboard.c47 Uint8 keystate[SDL_NUM_SCANCODES]; member
586 if (keyboard->keystate[scancode] == SDL_PRESSED) { in SDL_ResetKeyboard()
717 if (keyboard->keystate[scancode]) { in SDL_SendKeyboardKeyInternal()
726 if (!keyboard->keystate[scancode]) { in SDL_SendKeyboardKeyInternal()
733 keyboard->keystate[scancode] = state; in SDL_SendKeyboardKeyInternal()
904 return keyboard->keystate; in SDL_GetKeyboardState()
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsevents.c1152 const Uint8 *keystate; in WIN_PumpEvents() local
1186 keystate = SDL_GetKeyboardState(NULL); in WIN_PumpEvents()
1187 if ((keystate[SDL_SCANCODE_LSHIFT] == SDL_PRESSED) && !(GetKeyState(VK_LSHIFT) & 0x8000)) { in WIN_PumpEvents()
1190 if ((keystate[SDL_SCANCODE_RSHIFT] == SDL_PRESSED) && !(GetKeyState(VK_RSHIFT) & 0x8000)) { in WIN_PumpEvents()

Completed in 6 milliseconds