Searched refs:step_x (Results 1 – 1 of 1) sorted by relevance
270 int step_x = msc->touches[id].scroll_x - x; in magicmouse_emit_touch() local300 step_x /= (64 - (int)scroll_speed) * msc->scroll_accel; in magicmouse_emit_touch()301 if (step_x != 0) { in magicmouse_emit_touch()302 msc->touches[id].scroll_x -= step_x * in magicmouse_emit_touch()305 input_report_rel(input, REL_HWHEEL, -step_x); in magicmouse_emit_touch()
Completed in 4 milliseconds