| /linux/drivers/media/rc/ |
| H A D | ir-imon-decoder.c | 47 int rel_x, rel_y; in ir_imon_decode_scancode() local 51 rel_x = (buf & 0x08) | (buf & 0x10) >> 2 | in ir_imon_decode_scancode() 54 rel_x |= ~0x0f; in ir_imon_decode_scancode() 61 if (rel_x && rel_y && imon->stick_keyboard) { in ir_imon_decode_scancode() 62 if (abs(rel_y) > abs(rel_x)) in ir_imon_decode_scancode() 67 imon->bits = rel_x > 0 ? in ir_imon_decode_scancode() 73 input_report_rel(dev->input_dev, REL_X, rel_x); in ir_imon_decode_scancode()
|
| H A D | bpf-lirc.c | 60 BPF_CALL_3(bpf_rc_pointer_rel, u32*, sample, s32, rel_x, s32, rel_y) in BPF_CALL_3() argument 66 input_report_rel(ctrl->dev->input_dev, REL_X, rel_x); in BPF_CALL_3()
|
| /linux/drivers/input/mouse/ |
| H A D | sermouse.c | 59 input_report_rel(dev, REL_X, data / 2); in sermouse_process_msc() 66 input_report_rel(dev, REL_X, buf[0]); in sermouse_process_msc() 105 input_report_rel(dev, REL_X, data / 2); in sermouse_process_ms() 117 input_report_rel(dev, REL_X, buf[3]); in sermouse_process_ms() 254 input_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in sermouse_connect()
|
| H A D | rpcmouse.c | 50 input_report_rel(dev, REL_X, dx); in rpcmouse_irq() 81 rpcmouse_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in rpcmouse_init()
|
| H A D | atarimouse.c | 77 input_report_rel(atamouse_dev, REL_X, dx); in atamouse_interrupt() 131 atamouse_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in atamouse_init()
|
| H A D | maplemouse.c | 43 input_report_rel(dev, REL_X, relx); in dc_mouse_callback() 94 input_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y) | in probe_maple_mouse()
|
| H A D | amimouse.c | 58 input_report_rel(dev, REL_X, dx); in amimouse_interrupt() 110 dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in amimouse_probe()
|
| H A D | logibm.c | 74 input_report_rel(logibm_dev, REL_X, dx); in logibm_interrupt() 140 logibm_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in logibm_init()
|
| H A D | inport.c | 75 input_report_rel(inport_dev, REL_X, inb(INPORT_DATA_PORT)); in inport_interrupt() 147 inport_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in inport_init()
|
| H A D | gpio_mouse.c | 64 input_report_rel(input, REL_X, x); in gpio_mouse_scan() 122 input_set_capability(input, EV_REL, REL_X); in gpio_mouse_probe()
|
| H A D | synaptics_usb.c | 114 input_report_rel(input_dev, REL_X, x); in synusb_report_stick() 395 __set_bit(REL_X, input_dev->relbit); in synusb_probe()
|
| H A D | synaptics_i2c.c | 364 input_report_rel(input, REL_X, x_delta); in synaptics_i2c_get_input() 499 __set_bit(REL_X, input->relbit); in synaptics_i2c_set_input_params()
|
| H A D | vsxxxaa.c | 244 input_report_rel(dev, REL_X, dx); in vsxxxaa_handle_REL_packet() 482 __set_bit(REL_X, input_dev->relbit); in vsxxxaa_connect()
|
| H A D | bcm5974.c | 170 u8 rel_x; /* relative x coordinate */ member 224 __le16 rel_x; /* relative x coodinate */ member 556 dev->bt_data->rel_x, dev->bt_data->rel_y); in report_bt_state()
|
| /linux/Documentation/devicetree/bindings/input/ |
| H A D | rotary-encoder.yaml | 26 Defaults to 0 (ABS_X / REL_X) 86 linux,axis = <0>; /* REL_X */
|
| /linux/drivers/input/joystick/ |
| H A D | a3d.c | 104 … input_report_rel(dev, REL_X, ((data[5] << 6) | (data[6] << 3) | data[ 7]) - ((data[5] & 4) << 7)); in a3d_read() 124 …input_report_rel(dev, REL_X, ((data[ 9] << 6) | (data[10] << 3) | data[11]) - ((data[ 9] & 4) << 7… in a3d_read() 309 input_dev->relbit[0] |= BIT_MASK(REL_X) | BIT_MASK(REL_Y); in a3d_connect() 336 input_dev->relbit[0] |= BIT_MASK(REL_X) | BIT_MASK(REL_Y); in a3d_connect()
|
| /linux/include/linux/input/ |
| H A D | adxl34x.h | 279 u32 ev_code_x; /* ABS_X,Y,Z or REL_X,Y,Z */ 280 u32 ev_code_y; /* ABS_X,Y,Z or REL_X,Y,Z */ 281 u32 ev_code_z; /* ABS_X,Y,Z or REL_X,Y,Z */
|
| /linux/drivers/hid/usbhid/ |
| H A D | usbmouse.c | 74 input_report_rel(dev, REL_X, data[1]); in usb_mouse_irq() 170 input_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in usb_mouse_probe()
|
| /linux/Documentation/input/ |
| H A D | uinput.rst | 136 ioctl(fd, UI_SET_RELBIT, REL_X); 159 emit(fd, EV_REL, REL_X, 5);
|
| /linux/drivers/input/misc/ |
| H A D | xen-kbdfront.c | 69 input_report_rel(info->ptr, REL_X, motion->rel_x); in xenkbd_handle_motion_event() 310 input_set_capability(ptr, EV_REL, REL_X); in xenkbd_probe()
|
| /linux/tools/testing/selftests/hid/tests/ |
| H A D | test_mouse.py | 691 expected_event = libevdev.InputEvent(libevdev.EV_REL.REL_X, 1) 697 expected_event0 = libevdev.InputEvent(libevdev.EV_REL.REL_X, -1) 785 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_X, -1)) 840 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_X, -1)) 851 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_X, -1)) 917 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_X, 1)) 1006 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_X, 1))
|
| /linux/drivers/input/keyboard/ |
| H A D | hil_kbd.c | 246 input_report_rel(dev, REL_X + i, val); in hil_dev_handle_ptr_events() 369 __set_bit(REL_X + i, input_dev->relbit); in hil_dev_pointer_setup() 372 __set_bit(REL_X + i, input_dev->relbit); in hil_dev_pointer_setup()
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx8mn-dimonoff-gateway-evk.dts | 49 linux,axis = <0>; /* REL_X */
|
| H A D | imx8mn-rve-gateway.dts | 73 linux,axis = <0>; /* REL_X */
|
| /linux/drivers/macintosh/ |
| H A D | mac_hid.c | 54 mac_hid_emumouse_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in mac_hid_create_emumouse()
|