Searched refs:keystate (Results 1 – 2 of 2) sorted by relevance
304 uint8_t keymap[KEY_CNT / 8], keystate[KEY_CNT / 8]; in input_linux_complete() local 378 rc = ioctl(il->fd, EVIOCGKEY(sizeof(keystate)), keystate); in input_linux_complete() 390 if (keystate[i / 8] & (1 << (i % 8))) { in input_linux_complete()
225 Uint8 *keystate; in sandbox_sdl_scan_keys() local229 keystate = SDL_GetKeyState(NULL); in sandbox_sdl_scan_keys()233 else if (keystate[i]) in sandbox_sdl_scan_keys()