Home
last modified time | relevance | path

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

123

/linux/drivers/media/rc/
H A 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()
H A 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/drivers/input/mouse/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dvsxxxaa.c244 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 Dbcm5974.c170 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 Drotary-encoder.yaml26 Defaults to 0 (ABS_X / REL_X)
86 linux,axis = <0>; /* REL_X */
/linux/drivers/input/joystick/
H A 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/include/linux/input/
H A 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/drivers/hid/usbhid/
H A 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/Documentation/input/
H A Duinput.rst136 ioctl(fd, UI_SET_RELBIT, REL_X);
159 emit(fd, EV_REL, REL_X, 5);
/linux/drivers/input/misc/
H A 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/tools/testing/selftests/hid/tests/
H A Dtest_mouse.py691 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 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/arch/arm64/boot/dts/freescale/
H A Dimx8mn-dimonoff-gateway-evk.dts49 linux,axis = <0>; /* REL_X */
H A Dimx8mn-rve-gateway.dts73 linux,axis = <0>; /* REL_X */
/linux/drivers/hid/
H A Dhid-alps.c416 input_report_rel(hdata->input2, REL_X, sp_x); in u1_raw_event()
757 __set_bit(REL_X, input2->relbit); in alps_input_configured()

123