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