Home
last modified time | relevance | path

Searched refs:REL_WHEEL (Results 1 – 25 of 37) sorted by relevance

12

/openbmc/linux/drivers/hid/
H A Dhid-ezkey.c34 case 0x231: ez_map_rel(REL_WHEEL); break; in ez_input_mapping()
57 input_event(input, usage->type, REL_WHEEL, -value); in ez_event()
H A Dhid-cypress.c92 if (usage->type == EV_REL && usage->code == REL_WHEEL) in cp_input_mapped()
118 if (usage->code == REL_WHEEL && (quirks & CP_2WHEEL_MOUSE_HACK_ON)) { in cp_event()
H A Dhid-microsoft.c115 hid_map_usage_clear(hi, usage, bit, max, EV_REL, REL_WHEEL); in ms_ergonomy_kb_quirk()
250 input_report_rel(input, REL_WHEEL, step); in ms_event()
253 input_report_rel(input, REL_WHEEL, -step); in ms_event()
H A Dhid-a4tech.c92 REL_WHEEL, a4->delayed_value); in a4_event()
H A Dhid-lenovo.c246 hid_map_usage(hi, usage, bit, max, EV_REL, REL_WHEEL); in lenovo_input_mapping_cptkbd()
341 hid_map_usage(hi, usage, bit, max, EV_REL, REL_WHEEL); in lenovo_input_mapping_tpIIkbd()
729 if (usage->type == EV_REL && (usage->code == REL_WHEEL || in lenovo_event_cptkbd()
H A Dhid-magicmouse.c308 input_report_rel(input, REL_WHEEL, step_y); in magicmouse_emit_touch()
549 __set_bit(REL_WHEEL, input->relbit); in magicmouse_setup_input()
/openbmc/linux/drivers/input/mouse/
H A Dsermouse.c143 input_report_rel(dev, REL_WHEEL, (data & 8) - (data & 7)); in sermouse_process_ms()
165 input_report_rel(dev, data & 0x80 ? REL_HWHEEL : REL_WHEEL, (data & 7) - (data & 8)); in sermouse_process_ms()
259 if (c & 0x10) set_bit(REL_WHEEL, input_dev->relbit); in sermouse_connect()
H A Dmaplemouse.c45 input_report_rel(dev, REL_WHEEL, relz); in dc_mouse_callback()
95 BIT_MASK(REL_WHEEL); in probe_maple_mouse()
H A Dlogips2pp.c61 packet[2] & 0x80 ? REL_HWHEEL : REL_WHEEL, in ps2pp_process_byte()
81 packet[2] & 0x08 ? REL_HWHEEL : REL_WHEEL, in ps2pp_process_byte()
291 input_set_capability(input_dev, EV_REL, REL_WHEEL); in ps2pp_set_model_properties()
H A Dvmmouse.c195 input_report_rel(rel_dev, REL_WHEEL, -(s8)((u8) z)); in vmmouse_report_events()
483 input_set_capability(rel_dev, EV_REL, REL_WHEEL); in vmmouse_init()
H A Dpsmouse-base.c168 input_report_rel(dev, REL_WHEEL, -(s8) packet[3]); in psmouse_process_byte()
175 input_report_rel(dev, REL_WHEEL, in psmouse_process_byte()
194 input_report_rel(dev, REL_WHEEL, -wheel); in psmouse_process_byte()
204 input_report_rel(dev, REL_WHEEL, -(s8) packet[3]); in psmouse_process_byte()
561 __set_bit(REL_WHEEL, psmouse->dev->relbit); in genius_detect()
592 __set_bit(REL_WHEEL, psmouse->dev->relbit); in intellimouse_detect()
635 __set_bit(REL_WHEEL, psmouse->dev->relbit); in im_explorer_detect()
H A Dsentelic.c820 input_report_rel(dev, REL_WHEEL, in fsp_process_byte()
929 __set_bit(REL_WHEEL, dev->relbit); in fsp_set_input_params()
/openbmc/linux/tools/testing/selftests/hid/tests/
H A Dtest_mouse.py689 assert evdev.has(libevdev.EV_REL.REL_WHEEL)
705 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL, 1))
714 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL, -1))
725 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL, 3))
791 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL, -3))
868 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL, 1))
/openbmc/linux/drivers/hid/usbhid/
H A Dusbmouse.c76 input_report_rel(dev, REL_WHEEL, data[3]); in usb_mouse_irq()
173 input_dev->relbit[0] |= BIT_MASK(REL_WHEEL); in usb_mouse_probe()
/openbmc/linux/drivers/input/misc/
H A Dxen-kbdfront.c72 input_report_rel(info->ptr, REL_WHEEL, -motion->rel_z); in xenkbd_handle_motion_event()
85 input_report_rel(info->ptr, REL_WHEEL, -pos->rel_z); in xenkbd_handle_position_event()
313 input_set_capability(ptr, EV_REL, REL_WHEEL); in xenkbd_probe()
/openbmc/qemu/hw/input/
H A Dvirtio-input-hid.c117 event.code = cpu_to_le16(REL_WHEEL); in virtio_input_handle_event()
377 (1 << (REL_WHEEL - 8))
490 (1 << (REL_WHEEL - 8))
/openbmc/linux/drivers/input/tablet/
H A Dwacom_serial4.c361 input_report_rel(wacom->dev, REL_WHEEL, z); in wacom_handle_packet()
570 __set_bit(REL_WHEEL, input_dev->relbit); in wacom_connect()
/openbmc/linux/Documentation/input/
H A Devent-codes.rst194 * REL_WHEEL, REL_HWHEEL:
212 will be emitted in addition to REL_WHEEL or REL_HWHEEL. The REL_WHEEL
215 is a multiple of 120 at the time of an emulated REL_WHEEL or REL_HWHEEL
415 further buttons of the device. REL_WHEEL and REL_HWHEEL should be used to report
/openbmc/linux/drivers/char/
H A Dsonypi.c784 input_report_rel(jog_dev, REL_WHEEL, 1); in sonypi_report_input_event()
790 input_report_rel(jog_dev, REL_WHEEL, -1); in sonypi_report_input_event()
1165 jog_dev->relbit[0] = BIT_MASK(REL_WHEEL); in sonypi_create_input_devices()
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6dl-victgo.dts65 linux,axis = <REL_WHEEL>;
/openbmc/u-boot/include/dt-bindings/input/
H A Dlinux-event-codes.h673 #define REL_WHEEL 0x08 macro
/openbmc/linux/drivers/input/
H A Dmousedev.c216 case REL_WHEEL: in mousedev_rel_event()
1016 .relbit = { BIT_MASK(REL_WHEEL) },
/openbmc/qemu/include/standard-headers/linux/
H A Dinput-event-codes.h826 #define REL_WHEEL 0x08 macro
/openbmc/linux/include/dt-bindings/input/
H A Dlinux-event-codes.h827 #define REL_WHEEL 0x08
826 #define REL_WHEEL global() macro
/openbmc/qemu/ui/
H A Dinput-linux.c240 case REL_WHEEL: in input_linux_handle_mouse()

12