Home
last modified time | relevance | path

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

12

/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 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 Dmaplemouse.c43 input_report_rel(dev, REL_X, relx); in dc_mouse_callback()
97 input_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y) | in probe_maple_mouse()
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_i2c.c376 input_report_rel(input, REL_X, x_delta); in synaptics_i2c_get_input()
509 input_set_capability(input, EV_REL, REL_X); 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
558 dev->bt_data->rel_x, dev->bt_data->rel_y); in report_bt_state()
H A Dlifebook.c293 input_set_capability(dev2, EV_REL, REL_X); in lifebook_create_relative_device()
H A Dvmmouse.c160 input_report_rel(rel_dev, REL_X, (s32)x); in vmmouse_report_events()
/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/Documentation/input/
H A Duinput.rst136 ioctl(fd, UI_SET_RELBIT, REL_X);
159 emit(fd, EV_REL, REL_X, 5);
H A 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/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 */
/linux/drivers/macintosh/
H A Dmac_hid.c54 mac_hid_emumouse_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in mac_hid_create_emumouse()
/linux/include/xen/interface/io/
H A Dkbdif.h235 * | rel_x | 8
248 * rel_x - int32_t, relative X motion
255 int32_t rel_x; member
/linux/arch/arm/boot/dts/intel/pxa/
H A Dpxa300-raumfeld-common.dtsi125 linux,axis = <REL_X>;

12