Home
last modified time | relevance | path

Searched refs:EV_REP (Results 1 – 17 of 17) sorted by relevance

/third_party/ltp/testcases/kernel/input/
Dinput06.c87 SAFE_IOCTL(NULL, fd, UI_SET_EVBIT, EV_REP); in setup()
151 if (!check_event_code(iev, EV_REP, REP_DELAY)) { in parse_autorepeat_config()
157 if (!check_event_code(next_event(), EV_REP, REP_PERIOD)) { in parse_autorepeat_config()
212 case EV_REP: in check_events()
/third_party/libevdev/test/
Dtest-event-codes.c19 ck_assert_int_eq(libevdev_event_type_from_name("EV_REP"), EV_REP); in START_TEST()
25 ck_assert_int_eq(libevdev_event_type_from_name_n("EV_REPTILE", 6), EV_REP); in START_TEST()
51 ck_assert_int_eq(libevdev_event_type_from_code_name("REP_PERIOD"), EV_REP); in START_TEST()
86 ck_assert_int_eq(libevdev_event_code_from_name(EV_REP, "REP_DELAY"), REP_DELAY); in START_TEST()
176 ck_assert_int_eq(libevdev_event_code_from_name(EV_REP, "REP_MAX"), REP_MAX); in START_TEST()
Dtest-event-names.c19 ck_assert(libevdev_event_code_get_name(EV_REP, REP_MAX + 1) == NULL); in START_TEST()
35 ck_assert_str_eq(libevdev_event_type_get_name(EV_REP), "EV_REP"); in START_TEST()
132 ck_assert_str_eq(libevdev_event_code_get_name(EV_REP, REP_DELAY), "REP_DELAY"); in START_TEST()
133 ck_assert_str_eq(libevdev_event_code_get_name(EV_REP, REP_PERIOD), "REP_PERIOD"); in START_TEST()
134 ck_assert_str_eq(libevdev_event_code_get_name(EV_REP, REP_MAX), "REP_PERIOD"); in START_TEST()
Dtest-libevdev-has-event.c191 rc = uinput_device_set_bit(uidev, EV_REP); in START_TEST()
200 ck_assert_int_eq(libevdev_has_event_type(dev, EV_REP), 1); in START_TEST()
201 ck_assert_int_eq(libevdev_has_event_code(dev, EV_REP, REP_DELAY), 1); in START_TEST()
202 ck_assert_int_eq(libevdev_has_event_code(dev, EV_REP, REP_PERIOD), 1); in START_TEST()
798 ck_assert_int_eq(libevdev_enable_event_code(dev, EV_REP, REP_DELAY, NULL), -1); in START_TEST()
Dtest-context.c65 if (type == EV_ABS || type == EV_REP) in START_TEST()
Dtest-libevdev-events.c1826 libevdev_enable_event_code(dev, EV_REP, REP_DELAY, &delay); in START_TEST()
1827 libevdev_enable_event_code(dev, EV_REP, REP_PERIOD, &period); in START_TEST()
1829 ck_assert_int_eq(libevdev_has_event_type(dev, EV_REP), 1); in START_TEST()
1830 ck_assert_int_eq(libevdev_has_event_code(dev, EV_REP, REP_DELAY), 1); in START_TEST()
1831 ck_assert_int_eq(libevdev_has_event_code(dev, EV_REP, REP_PERIOD), 1); in START_TEST()
1832 ck_assert_int_eq(libevdev_get_event_value(dev, EV_REP, REP_DELAY), 500); in START_TEST()
1833 ck_assert_int_eq(libevdev_get_event_value(dev, EV_REP, REP_PERIOD), 200); in START_TEST()
/third_party/libinput/tools/
Dlibinput-replay86 elif evtype == libevdev.EV_REP.value:
87 if code == libevdev.EV_REP.REP_DELAY.value:
89 elif code == libevdev.EV_REP.REP_PERIOD.value:
Dlibinput-replay.py137 elif evtype == libevdev.EV_REP.value:
138 if code == libevdev.EV_REP.REP_DELAY.value:
140 elif code == libevdev.EV_REP.REP_PERIOD.value:
/third_party/libevdev/libevdev/
Dlibevdev.c499 if (bit_is_set(dev->bits, EV_REP)) { in libevdev_set_fd()
1353 case EV_REP: in libevdev_get_event_value()
1542 if (type == EV_REP) { in libevdev_enable_event_type()
1544 libevdev_enable_event_code(dev, EV_REP, REP_DELAY, &delay); in libevdev_enable_event_type()
1545 libevdev_enable_event_code(dev, EV_REP, REP_PERIOD, &period); in libevdev_enable_event_type()
1581 case EV_REP: in libevdev_enable_event_code()
1607 } else if (type == EV_REP) { in libevdev_enable_event_code()
1776 if (!libevdev_has_event_type(dev, EV_REP)) in libevdev_get_repeat()
Dlibevdev-uinput.c79 if (type == EV_REP) in set_evbits()
/third_party/libinput/include/linux/freebsd/
Dinput-event-codes.h46 #define EV_REP 0x14 macro
/third_party/libevdev/include/linux/linux/
Dinput-event-codes.h46 #define EV_REP 0x14 macro
/third_party/libinput/include/linux/linux/
Dinput-event-codes.h46 #define EV_REP 0x14 macro
/third_party/FreeBSD/sys/dev/evdev/
Dinput-event-codes.h58 #define EV_REP 0x14 macro
/third_party/libevdev/include/
Devent-names.h15 [EV_REP] = "EV_REP",
801 [EV_REP] = rep_map,
874 { .name = "EV_REP", .value = EV_REP },
/third_party/libevdev/
Dthird_party_libevdev.diff25722 + if (type == EV_ABS || type == EV_REP)
25841 + ck_assert_int_eq(libevdev_event_type_from_name("EV_REP"), EV_REP);
25847 + ck_assert_int_eq(libevdev_event_type_from_name_n("EV_REPTILE", 6), EV_REP);
25873 + ck_assert_int_eq(libevdev_event_type_from_code_name("REP_PERIOD"), EV_REP);
25908 + ck_assert_int_eq(libevdev_event_code_from_name(EV_REP, "REP_DELAY"), REP_DELAY);
25998 + ck_assert_int_eq(libevdev_event_code_from_name(EV_REP, "REP_MAX"), REP_MAX);
26113 + ck_assert(libevdev_event_code_get_name(EV_REP, REP_MAX + 1) == NULL);
26129 + ck_assert_str_eq(libevdev_event_type_get_name(EV_REP), "EV_REP");
26226 + ck_assert_str_eq(libevdev_event_code_get_name(EV_REP, REP_DELAY), "REP_DELAY");
26227 + ck_assert_str_eq(libevdev_event_code_get_name(EV_REP, REP_PERIOD), "REP_PERIOD");
[all …]
/third_party/libinput/patch/diff_libinput_mmi/libinput/
Dlibinput_0000.diff1804 + case EV_REP: