/openbmc/linux/tools/testing/selftests/hid/tests/ |
H A D | test_mouse.py | 20 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.REL_WHEEL) 690 return evdev.has(libevdev.EV_REL.REL_WHEEL_HI_RES) 705 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL, 1)) [all …]
|
H A D | base.py | 63 libevdev.EV_REL.REL_X, 64 libevdev.EV_REL.REL_Y, 151 rel_event = libevdev.InputEvent(libevdev.EV_REL) # type: ignore
|
/openbmc/linux/drivers/hid/ |
H A D | hid-a4tech.c | 62 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 D | hid-speedlink.c | 64 { HID_GD_X, EV_REL, 0 }, 65 { HID_GD_Y, EV_REL, 1 },
|
H A D | hid-ezkey.c | 22 #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 D | hid-lenovo.c | 243 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() 729 if (usage->type == EV_REL && (usage->code == REL_WHEEL || in lenovo_event_cptkbd() 1400 if (test_bit(EV_REL, hi->input->evbit)) { in lenovo_input_configured()
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | gpio-keys.yaml | 47 If linux,input-type is EV_ABS or EV_REL then this 49 EV_ABS/EV_REL axis will generate an event with a value of 0
|
H A D | input.yaml | 38 - 2 # EV_REL
|
/openbmc/linux/Documentation/input/ |
H A D | uinput.rst | 135 ioctl(fd, UI_SET_EVBIT, EV_REL); 159 emit(fd, EV_REL, REL_X, 5); 160 emit(fd, EV_REL, REL_Y, 5);
|
H A D | event-codes.rst | 44 * EV_REL: 184 EV_REL section in Event codes 187 EV_REL events describe relative changes in a property. For example, a mouse may 190 instead of EV_REL codes. 192 A few EV_REL codes have special meanings:
|
H A D | input.rst | 271 Type is for example EV_REL for relative movement, EV_KEY for a keypress or 278 EV_REL, absolute new value for EV_ABS (joysticks ...), or 0 for EV_KEY for
|
/openbmc/qemu/hw/input/ |
H A D | virtio-input-hid.c | 116 event.type = cpu_to_le16(EV_REL); in virtio_input_handle_event() 136 event.type = cpu_to_le16(EV_REL); in virtio_input_handle_event() 348 .subsel = EV_REL, 373 .subsel = EV_REL, 486 .subsel = EV_REL,
|
/openbmc/linux/drivers/input/mouse/ |
H A D | gpio_mouse.c | 122 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 D | lifebook.c | 293 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 D | rpcmouse.c | 78 rpcmouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in rpcmouse_init()
|
H A D | amimouse.c | 109 dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in amimouse_probe()
|
H A D | maplemouse.c | 91 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in probe_maple_mouse()
|
H A D | atarimouse.c | 130 atamouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in atamouse_init()
|
H A D | logibm.c | 137 logibm_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in logibm_init()
|
H A D | logips2pp.c | 291 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()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/utouch/utouch-frame/ |
H A D | 0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch | 32 return evemu_has_event(dev, EV_REL, REL_X) ||
|
/openbmc/qemu/ui/ |
H A D | input-linux.c | 232 case EV_REL: in input_linux_handle_mouse() 335 if (evtmap & (1 << EV_REL)) { in input_linux_complete() 337 rc = ioctl(il->fd, EVIOCGBIT(EV_REL, sizeof(relmap)), &relmap); in input_linux_complete()
|
/openbmc/linux/drivers/input/misc/ |
H A D | xen-kbdfront.c | 310 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()
|
H A D | adxl34x.c | 228 .ev_code_x = ABS_X, /* EV_REL */ 229 .ev_code_y = ABS_Y, /* EV_REL */ 230 .ev_code_z = ABS_Z, /* EV_REL */ 768 if (ac->pdata.ev_type == EV_REL) { in adxl34x_probe()
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | gpio_keys_polled.c | 51 if (type == EV_REL) { in gpio_keys_button_event() 111 input_event(input, EV_REL, i, 0); in gpio_keys_polled_poll()
|