Searched refs:step_x_hr (Results 1 – 1 of 1) sorted by relevance
269 int step_x_hr = msc->touches[id].scroll_x_hr - x; in magicmouse_emit_touch() local309 abs(step_x_hr) > SCROLL_HR_THRESHOLD) { in magicmouse_emit_touch()312 step_x_hr = 0; in magicmouse_emit_touch()315 step_x_hr /= step_hr; in magicmouse_emit_touch()316 if (step_x_hr != 0 && in magicmouse_emit_touch()318 msc->touches[id].scroll_x_hr -= step_x_hr * in magicmouse_emit_touch()322 -step_x_hr * SCROLL_HR_MULT); in magicmouse_emit_touch()