Searched refs:step_x_hr (Results 1 – 1 of 1) sorted by relevance
261 int step_x_hr = msc->touches[id].scroll_x_hr - x; in magicmouse_emit_touch() local301 abs(step_x_hr) > SCROLL_HR_THRESHOLD) { in magicmouse_emit_touch()304 step_x_hr = 0; in magicmouse_emit_touch()307 step_x_hr /= step_hr; in magicmouse_emit_touch()308 if (step_x_hr != 0 && in magicmouse_emit_touch()310 msc->touches[id].scroll_x_hr -= step_x_hr * in magicmouse_emit_touch()314 -step_x_hr * SCROLL_HR_MULT); in magicmouse_emit_touch()