Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hid/
H A Dhid-magicmouse.c262 int step_x = msc->touches[id].scroll_x - x; in magicmouse_emit_touch() local
292 step_x /= (64 - (int)scroll_speed) * msc->scroll_accel; in magicmouse_emit_touch()
293 if (step_x != 0) { in magicmouse_emit_touch()
294 msc->touches[id].scroll_x -= step_x * in magicmouse_emit_touch()
297 input_report_rel(input, REL_HWHEEL, -step_x); in magicmouse_emit_touch()