Lines Matching defs: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.
142 } touches[16];
160 if (msc->touches[idx].size < 8) {
191 int x = msc->touches[id].x;
252 msc->touches[id].x = x;
253 msc->touches[id].y = y;
254 msc->touches[id].size = size;
262 int step_x = msc->touches[id].scroll_x - x;
263 int step_y = msc->touches[id].scroll_y - y;
269 int step_x_hr = msc->touches[id].scroll_x_hr - x;
270 int step_y_hr = msc->touches[id].scroll_y_hr - y;
275 msc->touches[id].scroll_x = x;
276 msc->touches[id].scroll_y = y;
277 msc->touches[id].scroll_x_hr = x;
278 msc->touches[id].scroll_y_hr = y;
279 msc->touches[id].scroll_x_active = false;
280 msc->touches[id].scroll_y_active = false;
294 msc->touches[id].scroll_x -= step_x *
302 msc->touches[id].scroll_y -= step_y *
308 if (!msc->touches[id].scroll_x_active &&
310 msc->touches[id].scroll_x_active = true;
311 msc->touches[id].scroll_x_hr = x;
317 msc->touches[id].scroll_x_active) {
318 msc->touches[id].scroll_x_hr -= step_x_hr *
325 if (!msc->touches[id].scroll_y_active &&
327 msc->touches[id].scroll_y_active = true;
328 msc->touches[id].scroll_y_hr = y;
334 msc->touches[id].scroll_y_active) {
335 msc->touches[id].scroll_y_hr -= step_y_hr *