Searched refs:rel_x (Results 1 – 3 of 3) sorted by relevance
47 int rel_x, rel_y; in ir_imon_decode_scancode() local51 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()82 input_report_rel(imon->idev, REL_X, rel_x); in ir_imon_decode_scancode()
1293 signed char rel_x = 0x00, rel_y = 0x00; in imon_mouse_event() local1303 rel_x = buf[2]; in imon_mouse_event()1309 rel_x = (buf[1] & 0x08) | (buf[1] & 0x10) >> 2 | in imon_mouse_event()1312 rel_x |= ~0x0f; in imon_mouse_event()1313 rel_x = rel_x + rel_x / 2; in imon_mouse_event()1338 } else if (rel_x || rel_y) { in imon_mouse_event()1339 input_report_rel(ictx->idev, REL_X, rel_x); in imon_mouse_event()1369 signed char rel_x = 0x00, rel_y = 0x00; in imon_pad_to_keys() local1388 rel_x = buf[2]; in imon_pad_to_keys()1392 if ((buf[1] == 0) && ((rel_x != 0) || (rel_y != 0))) { in imon_pad_to_keys()[all …]
272 int32_t rel_x; member