Searched refs:step_y (Results 1 – 1 of 1) sorted by relevance
266 int step_y = msc->touches[id].scroll_y - y; in magicmouse_emit_touch() local303 step_y /= (64 - (int)scroll_speed) * msc->scroll_accel; in magicmouse_emit_touch()304 if (step_y != 0) { in magicmouse_emit_touch()305 msc->touches[id].scroll_y -= step_y * in magicmouse_emit_touch()308 input_report_rel(input, REL_WHEEL, step_y); in magicmouse_emit_touch()