Searched refs:EV_KEY (Results 1 - 21 of 21) sorted by relevance

/external/strace/xlat/
H A Devdev_ev.h14 #if defined(EV_KEY) || (defined(HAVE_DECL_EV_KEY) && HAVE_DECL_EV_KEY)
15 XLAT(EV_KEY),
/external/ltp/testcases/kernel/input/
H A Dinput06.c86 SAFE_IOCTL(NULL, fd, UI_SET_EVBIT, EV_KEY);
98 send_event(fd, EV_KEY, KEY_X, 1);
109 send_event(fd, EV_KEY, KEY_X, 0);
170 if (!check_event(iev, EV_KEY, KEY_X, 1) || !check_sync_event(next_event())) {
176 while (check_event(iev, EV_KEY, KEY_X, 2) && check_sync_event(next_event())) {
188 if (!check_event(iev, EV_KEY, KEY_X, 0) || !check_sync_event(next_event())) {
216 case EV_KEY:
H A Dinput03.c85 SAFE_IOCTL(NULL, fd, UI_SET_EVBIT, EV_KEY);
98 send_event(fd, EV_KEY, BTN_RIGHT, 1);
101 send_event(fd, EV_KEY, BTN_RIGHT, 0);
H A Dinput05.c86 SAFE_IOCTL(NULL, fd, UI_SET_EVBIT, EV_KEY);
H A Dinput_helper.c216 SAFE_IOCTL(NULL, fd, UI_SET_EVBIT, EV_KEY);
/external/autotest/client/site_tests/firmware_TouchMTB/
H A Dkeyboard_device.py17 from linux_input import EV_KEY namespace
60 if event and event.type == EV_KEY and event.value == 1:
H A Dmtb.py236 """Is this an EV_KEY event?"""
237 return (not event.get(MTB.SYN_REPORT) and event[MTB.EV_TYPE] == EV_KEY)
/external/strace/tests/
H A Dioctl.c54 && defined EV_KEY
84 (void) ioctl(-1, EVIOCGBIT(EV_KEY, 8), &data);
85 printf("ioctl(-1, EVIOCGBIT(EV_KEY, 8), %p)"
113 " && EVIOCGBIT && EV_KEY")
H A Dioctl_evdev.c121 TEST_NULL_ARG(EVIOCGBIT(EV_KEY, 1));
/external/strace/tests-m32/
H A Dioctl.c54 && defined EV_KEY
84 (void) ioctl(-1, EVIOCGBIT(EV_KEY, 8), &data);
85 printf("ioctl(-1, EVIOCGBIT(EV_KEY, 8), %p)"
113 " && EVIOCGBIT && EV_KEY")
H A Dioctl_evdev.c121 TEST_NULL_ARG(EVIOCGBIT(EV_KEY, 1));
/external/strace/tests-mx32/
H A Dioctl.c54 && defined EV_KEY
84 (void) ioctl(-1, EVIOCGBIT(EV_KEY, 8), &data);
85 printf("ioctl(-1, EVIOCGBIT(EV_KEY, 8), %p)"
113 " && EVIOCGBIT && EV_KEY")
H A Dioctl_evdev.c121 TEST_NULL_ARG(EVIOCGBIT(EV_KEY, 1));
/external/autotest/client/bin/input/
H A Dinput_device.py460 if not self._get_value(EV_KEY, BTN_TOUCH) == 1:
462 elif self._get_value(EV_KEY, BTN_TOOL_TRIPLETAP) == 1:
464 elif self._get_value(EV_KEY, BTN_TOOL_DOUBLETAP) == 1:
466 elif self._get_value(EV_KEY, BTN_TOOL_FINGER) == 1:
499 return int(self._get_value(EV_KEY, BTN_LEFT) == 1)
502 return int(self._get_value(EV_KEY, BTN_RIGHT) == 1)
505 return int(self._get_value(EV_KEY, BTN_MIDDLE) == 1)
517 return ((EV_KEY in self.events) and
518 (BTN_TOOL_FINGER in self.events[EV_KEY]) and
522 return ((EV_KEY i
[all...]
H A Dlinux_input.py155 EV_KEY = 0x01 variable
1118 EV_KEY : 'EV_KEY',
1132 EV_KEY : KEY_CNT,
1146 EV_KEY: {
/external/autotest/client/site_tests/hardware_Keyboard/src/
H A Devtest.c44 [EV_SYN] = "Sync", [EV_KEY] = "Key",
295 [EV_SYN] = events, [EV_KEY] = keys,
334 if (ev[i].type == EV_KEY) {
355 ioctl(fd, EVIOCGBIT(EV_KEY, KEY_MAX), bit[EV_KEY]);
356 if (test_bit(keycode, bit[EV_KEY])) {
377 if (test_bit(EV_KEY, bit[0])) {
378 ioctl(fd, EVIOCGBIT(EV_KEY, KEY_MAX), bit[EV_KEY]);
380 if (test_bit(j,bit[EV_KEY])) {
[all...]
/external/libxkbcommon/xkbcommon/test/
H A Dinteractive-evdev.c73 if (!evdev_bit_is_set(evbits, EV_KEY))
77 ioctl(fd, EVIOCGBIT(EV_KEY, sizeof(keybits)), keybits);
248 if (type != EV_KEY)
/external/libvncserver/examples/android/jni/
H A Dfbvncserver.c223 ev.type = EV_KEY;
323 ev.type = EV_KEY;
/external/autotest/server/cros/bluetooth/
H A Dbluetooth_adapter_tests.py18 BTN_LEFT, BTN_RIGHT, EV_KEY, EV_REL, REL_X, REL_Y, REL_WHEEL)
1851 Event(EV_KEY, linux_input_button[button], 1),
1855 Event(EV_KEY, linux_input_button[button], 0),
2034 Event(EV_KEY, BTN_LEFT, 1),
2042 Event(EV_KEY, BTN_LEFT, 0),
/external/strace/
H A Devdev.c358 case EV_KEY:
/external/kernel-headers/original/uapi/linux/
H A Dinput-event-codes.h39 #define EV_KEY 0x01 macro

Completed in 946 milliseconds