Home
last modified time | relevance | path

Searched refs:keybit (Results 1 – 4 of 4) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/joystick/linux/
DSDL_sysjoystick.c383 unsigned long keybit[NBITS(KEY_MAX)] = { 0 }; in EV_IsJoystick() local
387 (ioctl(fd, EVIOCGBIT(EV_KEY, sizeof(keybit)), keybit) < 0) || in EV_IsJoystick()
393 … (test_bit(BTN_TRIGGER, keybit) || test_bit(BTN_A, keybit) || test_bit(BTN_1, keybit)))) return 0; in EV_IsJoystick()
674 unsigned long keybit[NBITS(KEY_MAX)] = { 0 }; in EV_ConfigJoystick() local
679 if ( (ioctl(fd, EVIOCGBIT(EV_KEY, sizeof(keybit)), keybit) >= 0) && in EV_ConfigJoystick()
686 if ( test_bit(i, keybit) ) { in EV_ConfigJoystick()
696 if ( test_bit(i, keybit) ) { in EV_ConfigJoystick()
/external/kernel-headers/original/linux/
Dmod_devicetable.h288 kernel_ulong_t keybit[INPUT_DEVICE_ID_KEY_MAX / BITS_PER_LONG + 1]; member
Dhid.h738 *bit = input->keybit; in hid_map_usage()
Dinput.h1262 unsigned long keybit[BITS_TO_LONGS(KEY_CNT)]; member