Home
last modified time | relevance | path

Searched refs:EV_REL (Results 1 - 25 of 166) sorted by relevance

1234567

/kernel/linux/linux-6.6/tools/testing/selftests/hid/tests/
H A Dtest_mouse.py20 libevdev.EV_REL.REL_WHEEL_HI_RES
22 libevdev.EV_REL.REL_WHEEL_HI_RES = libevdev.EV_REL.REL_0B
23 libevdev.EV_REL.REL_HWHEEL_HI_RES = libevdev.EV_REL.REL_0C
623 expected_event = libevdev.InputEvent(libevdev.EV_REL.REL_Y, -1)
629 expected_event = libevdev.InputEvent(libevdev.EV_REL.REL_X, 1)
635 expected_event0 = libevdev.InputEvent(libevdev.EV_REL.REL_X, -1)
636 expected_event1 = libevdev.InputEvent(libevdev.EV_REL.REL_Y, 2)
689 assert evdev.has(libevdev.EV_REL
[all...]
H A Dbase.py63 libevdev.EV_REL.REL_X,
64 libevdev.EV_REL.REL_Y,
151 rel_event = libevdev.InputEvent(libevdev.EV_REL) # type: ignore
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-a4tech.c62 if (usage->type == EV_REL && usage->code == REL_WHEEL_HI_RES) { in a4_input_mapped()
85 if (usage->type == EV_REL && usage->code == REL_WHEEL_HI_RES) { in a4_event()
91 input_event(input, EV_REL, value ? REL_HWHEEL : in a4_event()
93 input_event(input, EV_REL, value ? REL_HWHEEL_HI_RES : in a4_event()
H A Dhid-speedlink.c64 { HID_GD_X, EV_REL, 0 },
65 { HID_GD_Y, EV_REL, 1 },
H A Dhid-ezkey.c22 #define ez_map_rel(c) hid_map_usage(hi, usage, bit, max, EV_REL, (c))
55 if (usage->type == EV_REL && usage->code == REL_HWHEEL) { in ez_event()
H A Dhid-lenovo.c212 hid_map_usage(hi, usage, bit, max, EV_REL, REL_HWHEEL); in lenovo_input_mapping_cptkbd()
215 hid_map_usage(hi, usage, bit, max, EV_REL, REL_WHEEL); in lenovo_input_mapping_cptkbd()
230 hid_map_usage(hi, usage, bit, max, EV_REL, REL_HWHEEL); in lenovo_input_mapping_scrollpoint()
494 usage->type == EV_REL && in lenovo_event_cptkbd()
504 if (usage->type == EV_REL && (usage->code == REL_WHEEL || in lenovo_event_cptkbd()
1144 if (test_bit(EV_REL, hi->input->evbit)) { in lenovo_input_configured()
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-a4tech.c62 if (usage->type == EV_REL && usage->code == REL_WHEEL_HI_RES) { in a4_input_mapped()
85 if (usage->type == EV_REL && usage->code == REL_WHEEL_HI_RES) { in a4_event()
91 input_event(input, EV_REL, value ? REL_HWHEEL : in a4_event()
93 input_event(input, EV_REL, value ? REL_HWHEEL_HI_RES : in a4_event()
H A Dhid-speedlink.c64 { HID_GD_X, EV_REL, 0 },
65 { HID_GD_Y, EV_REL, 1 },
H A Dhid-ezkey.c22 #define ez_map_rel(c) hid_map_usage(hi, usage, bit, max, EV_REL, (c))
55 if (usage->type == EV_REL && usage->code == REL_HWHEEL) { in ez_event()
H A Dhid-lenovo.c243 hid_map_usage(hi, usage, bit, max, EV_REL, REL_HWHEEL); in lenovo_input_mapping_cptkbd()
246 hid_map_usage(hi, usage, bit, max, EV_REL, REL_WHEEL); in lenovo_input_mapping_cptkbd()
338 hid_map_usage(hi, usage, bit, max, EV_REL, REL_HWHEEL); in lenovo_input_mapping_tpIIkbd()
341 hid_map_usage(hi, usage, bit, max, EV_REL, REL_WHEEL); in lenovo_input_mapping_tpIIkbd()
356 hid_map_usage(hi, usage, bit, max, EV_REL, REL_HWHEEL); in lenovo_input_mapping_scrollpoint()
727 if (usage->type == EV_REL && (usage->code == REL_WHEEL || in lenovo_event_cptkbd()
1394 if (test_bit(EV_REL, hi->input->evbit)) { in lenovo_input_configured()
/kernel/linux/linux-5.10/drivers/input/mouse/
H A Dgpio_mouse.c122 input_set_capability(input, EV_REL, REL_X); in gpio_mouse_probe()
123 input_set_capability(input, EV_REL, REL_Y); in gpio_mouse_probe()
H A Dlifebook.c293 input_set_capability(dev2, EV_REL, REL_X); in lifebook_create_relative_device()
294 input_set_capability(dev2, EV_REL, REL_Y); in lifebook_create_relative_device()
H A Dpxa930_trkball.c205 input_set_capability(input, EV_REL, REL_X); in pxa930_trkball_probe()
206 input_set_capability(input, EV_REL, REL_Y); in pxa930_trkball_probe()
H A Dlogips2pp.c291 input_set_capability(input_dev, EV_REL, REL_WHEEL); in ps2pp_set_model_properties()
294 input_set_capability(input_dev, EV_REL, REL_HWHEEL); in ps2pp_set_model_properties()
H A Drpcmouse.c78 rpcmouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in rpcmouse_init()
H A Damimouse.c109 dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in amimouse_probe()
H A Dmaplemouse.c91 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in probe_maple_mouse()
H A Datarimouse.c130 atamouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in atamouse_init()
/kernel/linux/linux-6.6/drivers/input/mouse/
H A Dgpio_mouse.c122 input_set_capability(input, EV_REL, REL_X); in gpio_mouse_probe()
123 input_set_capability(input, EV_REL, REL_Y); in gpio_mouse_probe()
H A Dlifebook.c293 input_set_capability(dev2, EV_REL, REL_X); in lifebook_create_relative_device()
294 input_set_capability(dev2, EV_REL, REL_Y); in lifebook_create_relative_device()
H A Dlogips2pp.c291 input_set_capability(input_dev, EV_REL, REL_WHEEL); in ps2pp_set_model_properties()
294 input_set_capability(input_dev, EV_REL, REL_HWHEEL); in ps2pp_set_model_properties()
H A Dmaplemouse.c91 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in probe_maple_mouse()
/kernel/linux/linux-5.10/drivers/input/misc/
H A Dxen-kbdfront.c310 input_set_capability(ptr, EV_REL, REL_X); in xenkbd_probe()
311 input_set_capability(ptr, EV_REL, REL_Y); in xenkbd_probe()
313 input_set_capability(ptr, EV_REL, REL_WHEEL); in xenkbd_probe()
/kernel/linux/linux-6.6/drivers/input/misc/
H A Dxen-kbdfront.c310 input_set_capability(ptr, EV_REL, REL_X); in xenkbd_probe()
311 input_set_capability(ptr, EV_REL, REL_Y); in xenkbd_probe()
313 input_set_capability(ptr, EV_REL, REL_WHEEL); in xenkbd_probe()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_lirc_mode2_user.c149 if (event.type == EV_REL && event.code == REL_Y && in main()

Completed in 13 milliseconds

1234567