Home
last modified time | relevance | path

Searched refs:rel_x (Results 1 – 6 of 6) sorted by relevance

/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.c1322 signed char rel_x = 0x00, rel_y = 0x00; in imon_mouse_event() local
1332 rel_x = buf[2]; in imon_mouse_event()
1338 rel_x = (buf[1] & 0x08) | (buf[1] & 0x10) >> 2 | in imon_mouse_event()
1341 rel_x |= ~0x0f; in imon_mouse_event()
1342 rel_x = rel_x + rel_x / 2; in imon_mouse_event()
1367 } else if (rel_x || rel_y) { in imon_mouse_event()
1368 input_report_rel(ictx->idev, REL_X, rel_x); in imon_mouse_event()
1398 signed char rel_x = 0x00, rel_y = 0x00; in imon_pad_to_keys() local
1417 rel_x = buf[2]; in imon_pad_to_keys()
1421 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()
/drivers/input/mouse/
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()
/drivers/input/misc/
Dxen-kbdfront.c69 input_report_rel(info->ptr, REL_X, motion->rel_x); in xenkbd_handle_motion_event()
/drivers/input/keyboard/
Dapplespi.c158 __le16 rel_x; member