Lines Matching full:touches

119  * @ntouches: Number of touches in most recent touch report.
122 * @touches: Most recent data for a touch, indexed by tracking ID.
123 * @tracking_ids: Mapping of current touch input data to @touches.
146 } touches[16]; member
164 if (msc->touches[idx].size < 8) { in magicmouse_firm_touch()
195 int x = msc->touches[id].x; in magicmouse_emit_buttons()
258 msc->touches[id].x = x; in magicmouse_emit_touch()
259 msc->touches[id].y = y; in magicmouse_emit_touch()
260 msc->touches[id].size = size; in magicmouse_emit_touch()
269 int step_x = msc->touches[id].scroll_x - x; in magicmouse_emit_touch()
270 int step_y = msc->touches[id].scroll_y - y; in magicmouse_emit_touch()
276 int step_x_hr = msc->touches[id].scroll_x_hr - x; in magicmouse_emit_touch()
277 int step_y_hr = msc->touches[id].scroll_y_hr - y; in magicmouse_emit_touch()
282 msc->touches[id].scroll_x = x; in magicmouse_emit_touch()
283 msc->touches[id].scroll_y = y; in magicmouse_emit_touch()
284 msc->touches[id].scroll_x_hr = x; in magicmouse_emit_touch()
285 msc->touches[id].scroll_y_hr = y; in magicmouse_emit_touch()
286 msc->touches[id].scroll_x_active = false; in magicmouse_emit_touch()
287 msc->touches[id].scroll_y_active = false; in magicmouse_emit_touch()
301 msc->touches[id].scroll_x -= step_x * in magicmouse_emit_touch()
309 msc->touches[id].scroll_y -= step_y * in magicmouse_emit_touch()
315 if (!msc->touches[id].scroll_x_active && in magicmouse_emit_touch()
317 msc->touches[id].scroll_x_active = true; in magicmouse_emit_touch()
318 msc->touches[id].scroll_x_hr = x; in magicmouse_emit_touch()
324 msc->touches[id].scroll_x_active) { in magicmouse_emit_touch()
325 msc->touches[id].scroll_x_hr -= step_x_hr * in magicmouse_emit_touch()
332 if (!msc->touches[id].scroll_y_active && in magicmouse_emit_touch()
334 msc->touches[id].scroll_y_active = true; in magicmouse_emit_touch()
335 msc->touches[id].scroll_y_hr = y; in magicmouse_emit_touch()
341 msc->touches[id].scroll_y_active) { in magicmouse_emit_touch()
342 msc->touches[id].scroll_y_hr -= step_y_hr * in magicmouse_emit_touch()