Lines Matching full:touches

118  * @ntouches: Number of touches in most recent touch report.
121 * @touches: Most recent data for a touch, indexed by tracking ID.
122 * @tracking_ids: Mapping of current touch input data to @touches.
145 } touches[16]; member
163 if (msc->touches[idx].size < 8) { in magicmouse_firm_touch()
194 int x = msc->touches[id].x; in magicmouse_emit_buttons()
255 msc->touches[id].x = x; in magicmouse_emit_touch()
256 msc->touches[id].y = y; in magicmouse_emit_touch()
257 msc->touches[id].size = size; in magicmouse_emit_touch()
265 int step_x = msc->touches[id].scroll_x - x; in magicmouse_emit_touch()
266 int step_y = msc->touches[id].scroll_y - y; in magicmouse_emit_touch()
272 int step_x_hr = msc->touches[id].scroll_x_hr - x; in magicmouse_emit_touch()
273 int step_y_hr = msc->touches[id].scroll_y_hr - y; in magicmouse_emit_touch()
278 msc->touches[id].scroll_x = x; in magicmouse_emit_touch()
279 msc->touches[id].scroll_y = y; in magicmouse_emit_touch()
280 msc->touches[id].scroll_x_hr = x; in magicmouse_emit_touch()
281 msc->touches[id].scroll_y_hr = y; in magicmouse_emit_touch()
282 msc->touches[id].scroll_x_active = false; in magicmouse_emit_touch()
283 msc->touches[id].scroll_y_active = false; in magicmouse_emit_touch()
297 msc->touches[id].scroll_x -= step_x * in magicmouse_emit_touch()
305 msc->touches[id].scroll_y -= step_y * in magicmouse_emit_touch()
311 if (!msc->touches[id].scroll_x_active && in magicmouse_emit_touch()
313 msc->touches[id].scroll_x_active = true; in magicmouse_emit_touch()
314 msc->touches[id].scroll_x_hr = x; in magicmouse_emit_touch()
320 msc->touches[id].scroll_x_active) { in magicmouse_emit_touch()
321 msc->touches[id].scroll_x_hr -= step_x_hr * in magicmouse_emit_touch()
328 if (!msc->touches[id].scroll_y_active && in magicmouse_emit_touch()
330 msc->touches[id].scroll_y_active = true; in magicmouse_emit_touch()
331 msc->touches[id].scroll_y_hr = y; in magicmouse_emit_touch()
337 msc->touches[id].scroll_y_active) { in magicmouse_emit_touch()
338 msc->touches[id].scroll_y_hr -= step_y_hr * in magicmouse_emit_touch()