Home
last modified time | relevance | path

Searched refs:step_y_hr (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/hid/
Dhid-magicmouse.c270 int step_y_hr = msc->touches[id].scroll_y_hr - y; in magicmouse_emit_touch() local
326 abs(step_y_hr) > SCROLL_HR_THRESHOLD) { in magicmouse_emit_touch()
329 step_y_hr = 0; in magicmouse_emit_touch()
332 step_y_hr /= step_hr; in magicmouse_emit_touch()
333 if (step_y_hr != 0 && in magicmouse_emit_touch()
335 msc->touches[id].scroll_y_hr -= step_y_hr * in magicmouse_emit_touch()
339 step_y_hr * SCROLL_HR_MULT); in magicmouse_emit_touch()