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