Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.15/src/joystick/linux/
DSDL_sysjoystick.c384 unsigned long absbit[NBITS(ABS_MAX)] = { 0 }; in EV_IsJoystick() local
388 (ioctl(fd, EVIOCGBIT(EV_ABS, sizeof(absbit)), absbit) < 0) ) { in EV_IsJoystick()
392 test_bit(ABS_X, absbit) && test_bit(ABS_Y, absbit) && in EV_IsJoystick()
675 unsigned long absbit[NBITS(ABS_MAX)] = { 0 }; in EV_ConfigJoystick() local
680 (ioctl(fd, EVIOCGBIT(EV_ABS, sizeof(absbit)), absbit) >= 0) && in EV_ConfigJoystick()
711 if ( test_bit(i, absbit) ) { in EV_ConfigJoystick()
742 if ( test_bit(i, absbit) || test_bit(i+1, absbit) ) { in EV_ConfigJoystick()
/external/kernel-headers/original/linux/
Dmod_devicetable.h290 kernel_ulong_t absbit[INPUT_DEVICE_ID_ABS_MAX / BITS_PER_LONG + 1]; member
Dhid.h730 *bit = input->absbit; in hid_map_usage()
Dinput.h1264 unsigned long absbit[BITS_TO_LONGS(ABS_CNT)]; member