/external/ltp/testcases/kernel/input/ |
D | input06.c | 86 SAFE_IOCTL(NULL, fd, UI_SET_EVBIT, EV_KEY); in setup() 98 send_event(fd, EV_KEY, KEY_X, 1); in send_events() 109 send_event(fd, EV_KEY, KEY_X, 0); in send_events() 170 if (!check_event(iev, EV_KEY, KEY_X, 1) || !check_sync_event(next_event())) { in parse_key() 176 while (check_event(iev, EV_KEY, KEY_X, 2) && check_sync_event(next_event())) { in parse_key() 188 if (!check_event(iev, EV_KEY, KEY_X, 0) || !check_sync_event(next_event())) { in parse_key() 216 case EV_KEY: in check_events()
|
D | input03.c | 85 SAFE_IOCTL(NULL, fd, UI_SET_EVBIT, EV_KEY); in setup() 98 send_event(fd, EV_KEY, BTN_RIGHT, 1); in send_events() 101 send_event(fd, EV_KEY, BTN_RIGHT, 0); in send_events()
|
D | input05.c | 86 SAFE_IOCTL(NULL, fd, UI_SET_EVBIT, EV_KEY); in setup()
|
D | input_helper.c | 216 SAFE_IOCTL(NULL, fd, UI_SET_EVBIT, EV_KEY); in setup_mouse_events()
|
/external/strace/xlat/ |
D | evdev_ev.h | 13 #if defined(EV_KEY) || (defined(HAVE_DECL_EV_KEY) && HAVE_DECL_EV_KEY) 15 static_assert((EV_KEY) == (0x01), "EV_KEY != 0x01"); 18 # define EV_KEY 0x01 97 XLAT(EV_KEY),
|
D | evdev_ev.in | 2 EV_KEY 0x01
|
/external/autotest/client/bin/input/ |
D | input_device.py | 465 if not self._get_value(EV_KEY, BTN_TOUCH) == 1: 467 elif self._get_value(EV_KEY, BTN_TOOL_TRIPLETAP) == 1: 469 elif self._get_value(EV_KEY, BTN_TOOL_DOUBLETAP) == 1: 471 elif self._get_value(EV_KEY, BTN_TOOL_FINGER) == 1: 504 return int(self._get_value(EV_KEY, BTN_LEFT) == 1) 507 return int(self._get_value(EV_KEY, BTN_RIGHT) == 1) 510 return int(self._get_value(EV_KEY, BTN_MIDDLE) == 1) 522 return ((EV_KEY in self.events) and 523 (BTN_TOOL_FINGER in self.events[EV_KEY]) and 527 if EV_KEY not in self.events: [all …]
|
D | linux_input.py | 161 EV_KEY = 0x01 variable 1127 EV_KEY : 'EV_KEY', 1141 EV_KEY : KEY_CNT, 1155 EV_KEY: {
|
/external/autotest/client/site_tests/hardware_Keyboard/src/ |
D | evtest.c | 44 [EV_SYN] = "Sync", [EV_KEY] = "Key", 295 [EV_SYN] = events, [EV_KEY] = keys, 334 if (ev[i].type == EV_KEY) { in do_single_key_capture() 355 ioctl(fd, EVIOCGBIT(EV_KEY, KEY_MAX), bit[EV_KEY]); in is_key_supported() 356 if (test_bit(keycode, bit[EV_KEY])) { in is_key_supported() 377 if (test_bit(EV_KEY, bit[0])) { in do_check_num_keys() 378 ioctl(fd, EVIOCGBIT(EV_KEY, KEY_MAX), bit[EV_KEY]); in do_check_num_keys() 380 if (test_bit(j,bit[EV_KEY])) { in do_check_num_keys()
|
/external/autotest/server/cros/bluetooth/ |
D | bluetooth_test_utils.py | 6 from autotest_lib.client.bin.input.linux_input import EV_KEY 24 if ev.type == EV_KEY and ev.value == 1:
|
/external/crosvm/devices/src/virtio/input/ |
D | defaults.rs | 99 supported_events.insert(EV_KEY, virtio_input_bitmap::from_bits(&[BTN_TOUCH])); in default_touchscreen_events() 123 supported_events.insert(EV_KEY, virtio_input_bitmap::from_bits(&[BTN_TOUCH])); in default_multitouchscreen_events() 146 EV_KEY, in default_trackpad_events() 156 EV_KEY, in default_mouse_events() 169 EV_KEY, in default_keyboard_events()
|
/external/strace/tests-mx32/ |
D | ioctl.c | 54 && defined EV_KEY 84 (void) ioctl(-1, EVIOCGBIT(EV_KEY, 8), &data); in main()
|
D | ioctl_evdev-success.c | 215 { { ARG_STR(EVIOCGBIT(EV_KEY, 0)), key, print_getbit }, &key_str}, in main()
|
D | ioctl_evdev.c | 143 TEST_NULL_ARG(EVIOCGBIT(EV_KEY, 1)); in main()
|
/external/strace/tests-m32/ |
D | ioctl.c | 54 && defined EV_KEY 84 (void) ioctl(-1, EVIOCGBIT(EV_KEY, 8), &data); in main()
|
D | ioctl_evdev-success.c | 215 { { ARG_STR(EVIOCGBIT(EV_KEY, 0)), key, print_getbit }, &key_str}, in main()
|
D | ioctl_evdev.c | 143 TEST_NULL_ARG(EVIOCGBIT(EV_KEY, 1)); in main()
|
/external/strace/tests/ |
D | ioctl.c | 54 && defined EV_KEY 84 (void) ioctl(-1, EVIOCGBIT(EV_KEY, 8), &data); in main()
|
D | ioctl_evdev-success.c | 215 { { ARG_STR(EVIOCGBIT(EV_KEY, 0)), key, print_getbit }, &key_str}, in main()
|
D | ioctl_evdev.c | 143 TEST_NULL_ARG(EVIOCGBIT(EV_KEY, 1)); in main()
|
/external/libkmsxx/utils/ |
D | kmstouch.cpp | 84 case EV_KEY: in print_bits() 85 print_code_bits(dev, EV_KEY, KEY_MAX); in print_bits() 142 case EV_KEY: in handle_event() 239 !libevdev_has_event_code(dev, EV_KEY, BTN_TOUCH)) { in main()
|
/external/crosvm/linux_input_sys/src/ |
D | lib.rs | 9 const EV_KEY: u16 = 0x01; constant 156 type_: Le16::from(EV_KEY), in key()
|
/external/walt/pywalt/ |
D | README.md | 50 Event: time 1487105212.048997, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1 53 Event: time 1487105212.262449, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0 56 Event: time 1487105212.702711, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
|
/external/libxkbcommon/tools/ |
D | interactive-evdev.c | 83 if (!evdev_bit_is_set(evbits, EV_KEY)) in is_keyboard() 87 ioctl(fd, EVIOCGBIT(EV_KEY, sizeof(keybits)), keybits); in is_keyboard() 259 if (type != EV_KEY) in process_event()
|
/external/ltp/libs/libltpuinput/ |
D | tst_uinput.c | 117 SAFE_IOCTL(fd, UI_SET_EVBIT, EV_KEY); in setup_mouse_events()
|