Home
last modified time | relevance | path

Searched full:rel_x (Results 1 – 25 of 66) sorted by relevance

123

/linux-6.14.4/drivers/media/rc/
Dir-imon-decoder.c47 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()
Dimon.c1314 signed char rel_x = 0x00, rel_y = 0x00; in imon_mouse_event() local
1324 rel_x = buf[2]; in imon_mouse_event()
1330 rel_x = (buf[1] & 0x08) | (buf[1] & 0x10) >> 2 | in imon_mouse_event()
1333 rel_x |= ~0x0f; in imon_mouse_event()
1334 rel_x = rel_x + rel_x / 2; in imon_mouse_event()
1359 } else if (rel_x || rel_y) { in imon_mouse_event()
1360 input_report_rel(ictx->idev, REL_X, rel_x); in imon_mouse_event()
1390 signed char rel_x = 0x00, rel_y = 0x00; in imon_pad_to_keys() local
1409 rel_x = buf[2]; in imon_pad_to_keys()
1413 if ((buf[1] == 0) && ((rel_x != 0) || (rel_y != 0))) { in imon_pad_to_keys()
[all …]
Dbpf-lirc.c60 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-6.14.4/drivers/input/mouse/
Dsermouse.c59 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()
Drpcmouse.c50 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()
Datarimouse.c77 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()
Dmaplemouse.c43 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()
Damimouse.c58 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()
Dlogibm.c74 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()
Dinport.c75 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()
Dgpio_mouse.c64 input_report_rel(input, REL_X, x); in gpio_mouse_scan()
122 input_set_capability(input, EV_REL, REL_X); in gpio_mouse_probe()
Dsynaptics_usb.c114 input_report_rel(input_dev, REL_X, x); in synusb_report_stick()
395 __set_bit(REL_X, input_dev->relbit); in synusb_probe()
Dsynaptics_i2c.c364 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()
/linux-6.14.4/Documentation/devicetree/bindings/input/
Drotary-encoder.yaml26 Defaults to 0 (ABS_X / REL_X)
86 linux,axis = <0>; /* REL_X */
/linux-6.14.4/drivers/input/joystick/
Da3d.c104 … 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-6.14.4/include/linux/input/
Dadxl34x.h279 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-6.14.4/drivers/hid/usbhid/
Dusbmouse.c74 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-6.14.4/Documentation/input/
Duinput.rst136 ioctl(fd, UI_SET_RELBIT, REL_X);
159 emit(fd, EV_REL, REL_X, 5);
Devent-codes.rst101 the REL_X and REL_Y values for one motion, then emit a SYN_REPORT. The next
102 motion will emit more REL_X and REL_Y values and send another SYN_REPORT.
/linux-6.14.4/drivers/input/misc/
Dxen-kbdfront.c69 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-6.14.4/tools/testing/selftests/hid/tests/
Dtest_mouse.py629 expected_event = libevdev.InputEvent(libevdev.EV_REL.REL_X, 1)
635 expected_event0 = libevdev.InputEvent(libevdev.EV_REL.REL_X, -1)
723 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_X, -1))
778 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_X, -1))
789 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_X, -1))
855 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_X, 1))
944 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_X, 1))
/linux-6.14.4/drivers/input/rmi4/
Drmi_2d_sensor.c130 input_report_rel(sensor->input, REL_X, x); in rmi_2d_sensor_rel_report()
200 set_bit(REL_X, input->relbit); in rmi_2d_sensor_set_input_params()
/linux-6.14.4/drivers/input/keyboard/
Dhil_kbd.c246 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-6.14.4/arch/arm64/boot/dts/freescale/
Dimx8mn-dimonoff-gateway-evk.dts49 linux,axis = <0>; /* REL_X */
/linux-6.14.4/drivers/macintosh/
Dmac_hid.c54 mac_hid_emumouse_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in mac_hid_create_emumouse()

123