Home
last modified time | relevance | path

Searched refs:EVIOCGBIT (Results 1 – 2 of 2) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/joystick/linux/
DSDL_sysjoystick.c386 if ( (ioctl(fd, EVIOCGBIT(0, sizeof(evbit)), evbit) < 0) || in EV_IsJoystick()
387 (ioctl(fd, EVIOCGBIT(EV_KEY, sizeof(keybit)), keybit) < 0) || in EV_IsJoystick()
388 (ioctl(fd, EVIOCGBIT(EV_ABS, sizeof(absbit)), absbit) < 0) ) { in EV_IsJoystick()
679 if ( (ioctl(fd, EVIOCGBIT(EV_KEY, sizeof(keybit)), keybit) >= 0) && in EV_ConfigJoystick()
680 (ioctl(fd, EVIOCGBIT(EV_ABS, sizeof(absbit)), absbit) >= 0) && in EV_ConfigJoystick()
681 (ioctl(fd, EVIOCGBIT(EV_REL, sizeof(relbit)), relbit) >= 0) ) { in EV_ConfigJoystick()
/external/kernel-headers/original/linux/
Dinput.h147 #define EVIOCGBIT(ev,len) _IOC(_IOC_READ, 'E', 0x20 + (ev), len) /* get event bits */ macro