Home
last modified time | relevance | path

Searched refs:evbit (Results 1 – 10 of 10) sorted by relevance

/third_party/libinput/tools/
Dlibinput-debug-tablet.c404 #define evbit(_t, _c) (((_t) << 16) | (_c)) in handle_libevdev_events() macro
412 switch(evbit(event.type, event.code)) { in handle_libevdev_events()
413 case evbit(EV_KEY, BTN_TOOL_PEN): in handle_libevdev_events()
414 case evbit(EV_KEY, BTN_TOOL_RUBBER): in handle_libevdev_events()
415 case evbit(EV_KEY, BTN_TOOL_BRUSH): in handle_libevdev_events()
416 case evbit(EV_KEY, BTN_TOOL_PENCIL): in handle_libevdev_events()
417 case evbit(EV_KEY, BTN_TOOL_AIRBRUSH): in handle_libevdev_events()
418 case evbit(EV_KEY, BTN_TOOL_MOUSE): in handle_libevdev_events()
419 case evbit(EV_KEY, BTN_TOOL_LENS): in handle_libevdev_events()
424 case evbit(EV_KEY, BTN_TOUCH): in handle_libevdev_events()
[all …]
Dlibinput-analyze-recording.py92 code=libevdev.evbit(evdev[2], evdev[3]),
168 code = libevdev.evbit(int(evtype), int(c))
Dlibinput-replay91 d.enable(libevdev.evbit(evtype, code), data=data)
138 …evs = [libevdev.InputEvent(libevdev.evbit(e[2], e[3]), value=e[4], sec=e[0], usec=e[1]) for e in e…
Dlibinput-replay.py142 d.enable(libevdev.evbit(evtype, code), data=data)
180 libevdev.evbit(evtype, evcode), value=value, sec=sec, usec=usec
Dlibinput-analyze-touch-down-state.py136 code=libevdev.evbit(evdev[2], evdev[3]),
Dlibinput-analyze-per-slot-delta.py235 code=libevdev.evbit(evdev[2], evdev[3]),
/third_party/libevdev/test/
Dtest-libevdev-has-event.c25 int *evbit = evbits; in START_TEST() local
27 while(*evbit != -1) { in START_TEST()
32 if (*evbit == EV_ABS) { in START_TEST()
39 *evbit, 0, in START_TEST()
42 ck_assert_msg(libevdev_has_event_type(dev, EV_SYN), "for event type %d\n", *evbit); in START_TEST()
43 ck_assert_msg(libevdev_has_event_type(dev, *evbit), "for event type %d\n", *evbit); in START_TEST()
46 if (i == EV_SYN || i == *evbit) in START_TEST()
55 evbit++; in START_TEST()
62 int *evbit = evbits; in START_TEST() local
64 while(*evbit != -1) { in START_TEST()
[all …]
/third_party/libinput/test/
Dlitest.c68 #define evbit(t, c) ((t) << 16U | (c & 0xffff)) macro
2488 switch (evbit(ev->type, ev->code)) { in litest_tablet_proximity_in()
2489 case evbit(EV_KEY, LITEST_BTN_TOOL_AUTO): in litest_tablet_proximity_in()
2516 switch (evbit(ev->type, ev->code)) { in litest_tablet_proximity_out()
2517 case evbit(EV_KEY, LITEST_BTN_TOOL_AUTO): in litest_tablet_proximity_out()
/third_party/libevdev/
Dthird_party_libevdev.diff29011 + int *evbit = evbits;
29013 + while(*evbit != -1) {
29018 + if (*evbit == EV_ABS) {
29025 + *evbit, 0,
29028 + ck_assert_msg(libevdev_has_event_type(dev, EV_SYN), "for event type %d\n", *evbit);
29029 + ck_assert_msg(libevdev_has_event_type(dev, *evbit), "for event type %d\n", *evbit);
29032 + if (i == EV_SYN || i == *evbit)
29041 + evbit++;
29048 + int *evbit = evbits;
29050 + while(*evbit != -1) {
[all …]
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h65412 kernel_ulong_t evbit[1]; member
65452 long unsigned int evbit[1]; member