Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/sdl/src/video/haiku/
DSDL_bkeyboard.cc42 static int8 keystate[KEYMAP_SIZE]; variable
50 keystate[i] = SDL_RELEASED; in BE_InitOSKeymap()
172 return keystate[bkey]; in BE_GetKeyState()
180 keystate[bkey] = state; in BE_SetKeyState()
/third_party/flutter/skia/third_party/externals/sdl/src/events/
DSDL_keyboard.c43 Uint8 keystate[SDL_NUM_SCANCODES]; member
573 if (keyboard->keystate[scancode] == SDL_PRESSED) { in SDL_ResetKeyboard()
693 repeat = (state && keyboard->keystate[scancode]); in SDL_SendKeyboardKey()
694 if (keyboard->keystate[scancode] == state && !repeat) { in SDL_SendKeyboardKey()
702 keyboard->keystate[scancode] = state; in SDL_SendKeyboardKey()
829 return keyboard->keystate; in SDL_GetKeyboardState()
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsevents.c1005 const Uint8 *keystate; in WIN_PumpEvents() local
1030 keystate = SDL_GetKeyboardState(NULL); in WIN_PumpEvents()
1031 if ((keystate[SDL_SCANCODE_LSHIFT] == SDL_PRESSED) && !(GetKeyState(VK_LSHIFT) & 0x8000)) { in WIN_PumpEvents()
1034 if ((keystate[SDL_SCANCODE_RSHIFT] == SDL_PRESSED) && !(GetKeyState(VK_RSHIFT) & 0x8000)) { in WIN_PumpEvents()
/third_party/libevdev/libevdev/
Dlibevdev.c577 unsigned long keystate[NLONGS(KEY_CNT)] = {0}; in sync_key_state() local
579 rc = ioctl(dev->fd, EVIOCGKEY(sizeof(keystate)), keystate); in sync_key_state()
586 new = bit_is_set(keystate, i); in sync_key_state()
591 memcpy(dev->key_values, keystate, rc); in sync_key_state()
/third_party/ffmpeg/libavcodec/
Dffv1enc.c1125 uint8_t keystate = 128; in encode_frame() local
1201 put_rac(c, &keystate, 1); in encode_frame()
1206 put_rac(c, &keystate, 0); in encode_frame()
Dffv1dec.c839 uint8_t keystate = 128; in decode_frame() local
861 if (get_rac(c, &keystate)) { in decode_frame()