Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/hid/
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()
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()
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()
Dhid-a4tech.c92 REL_WHEEL, a4->delayed_value); in a4_event()
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()
707 if (usage->type == EV_REL && (usage->code == REL_WHEEL || in lenovo_event_cptkbd()
Dhid-magicmouse.c305 input_report_rel(input, REL_WHEEL, step_y); in magicmouse_emit_touch()
540 __set_bit(REL_WHEEL, input->relbit); in magicmouse_setup_input()
Dwacom_wac.c427 input_report_rel(input, REL_WHEEL, rw); in wacom_graphire_irq()
446 input_report_rel(pad_input, REL_WHEEL, rw); in wacom_graphire_irq()
1014 input_report_rel(input, REL_WHEEL, ((data[7] & 0x80) >> 7) in wacom_intuos_general()
1030 input_report_rel(input, REL_WHEEL, (data[8] & 0x01) in wacom_intuos_general()
3560 input_set_capability(input_dev, EV_REL, REL_WHEEL); in wacom_setup_intuos()
3777 input_set_capability(input_dev, EV_REL, REL_WHEEL); in wacom_setup_pen_input_capabilities()
4220 input_set_capability(input_dev, EV_REL, REL_WHEEL); in wacom_setup_pad_input_capabilities()
/linux-6.6.21/drivers/input/mouse/
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()
Dmaplemouse.c45 input_report_rel(dev, REL_WHEEL, relz); in dc_mouse_callback()
95 BIT_MASK(REL_WHEEL); in probe_maple_mouse()
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()
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()
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()
Dsentelic.c820 input_report_rel(dev, REL_WHEEL, in fsp_process_byte()
929 __set_bit(REL_WHEEL, dev->relbit); in fsp_set_input_params()
/linux-6.6.21/tools/testing/selftests/hid/tests/
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))
/linux-6.6.21/drivers/hid/usbhid/
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()
/linux-6.6.21/drivers/input/misc/
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()
/linux-6.6.21/drivers/input/tablet/
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()
/linux-6.6.21/Documentation/input/
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
/linux-6.6.21/drivers/char/
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()
/linux-6.6.21/arch/arm/boot/dts/nxp/imx/
Dimx6dl-victgo.dts65 linux,axis = <REL_WHEEL>;
/linux-6.6.21/drivers/input/
Dmousedev.c216 case REL_WHEEL: in mousedev_rel_event()
1016 .relbit = { BIT_MASK(REL_WHEEL) },
/linux-6.6.21/include/uapi/linux/
Dinput-event-codes.h823 #define REL_WHEEL 0x08 macro
/linux-6.6.21/include/dt-bindings/input/
Dlinux-event-codes.h823 #define REL_WHEEL 0x08 macro
/linux-6.6.21/net/bluetooth/hidp/
Dcore.c226 input_report_rel(dev, REL_WHEEL, sdata[3]); in hidp_input_report()
700 input->relbit[0] |= BIT_MASK(REL_WHEEL); in hidp_setup_input()
/linux-6.6.21/drivers/input/keyboard/
Datkbd.c574 input_report_rel(dev, REL_WHEEL, in atkbd_receive_byte()
1233 input_dev->relbit[0] = BIT_MASK(REL_WHEEL) | in atkbd_set_device_attrs()

12