Home
last modified time | relevance | path

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

/drivers/hid/
A Dhid-magicmouse.c277 int step_x_hr = msc->touches[id].scroll_x_hr - x; in magicmouse_emit_touch() local
317 abs(step_x_hr) > SCROLL_HR_THRESHOLD) { in magicmouse_emit_touch()
320 step_x_hr = 0; in magicmouse_emit_touch()
323 step_x_hr /= step_hr; in magicmouse_emit_touch()
324 if (step_x_hr != 0 && in magicmouse_emit_touch()
326 msc->touches[id].scroll_x_hr -= step_x_hr * in magicmouse_emit_touch()
330 -step_x_hr * SCROLL_HR_MULT); in magicmouse_emit_touch()

Completed in 6 milliseconds