Searched refs:step_x (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/hid/
H A Dhid-magicmouse.c219 int step_x = msc->touches[id].scroll_x - x; magicmouse_emit_touch() local
238 step_x /= (64 - (int)scroll_speed) * msc->scroll_accel; magicmouse_emit_touch()
239 if (step_x != 0) { magicmouse_emit_touch()
240 msc->touches[id].scroll_x -= step_x * magicmouse_emit_touch()
243 input_report_rel(input, REL_HWHEEL, -step_x); magicmouse_emit_touch()

Completed in 40 milliseconds