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

/external/qemu/distrib/sdl-1.2.12/src/joystick/linux/
H A DSDL_sysjoystick.c379 unsigned long keybit[40]; local
383 (ioctl(fd, EVIOCGBIT(EV_KEY, sizeof(keybit)), keybit) < 0) ||
389 (test_bit(BTN_TRIGGER, keybit) || test_bit(BTN_A, keybit) || test_bit(BTN_1, keybit)))) return 0;
662 unsigned long keybit[40]; local
667 if ( (ioctl(fd, EVIOCGBIT(EV_KEY, sizeof(keybit)), keybit) >= 0) &&
674 if ( test_bit(i, keybit) ) {
[all...]
/external/kernel-headers/original/linux/
H A Dmod_devicetable.h288 kernel_ulong_t keybit[INPUT_DEVICE_ID_KEY_MAX / BITS_PER_LONG + 1]; member in struct:input_device_id
H A Dhid.h738 *bit = input->keybit;
H A Dinput.h1180 * @keybit: bitmap of keys/buttons this device has
1262 unsigned long keybit[BITS_TO_LONGS(KEY_CNT)]; member in struct:input_dev

Completed in 127 milliseconds