Lines Matching defs:point
338 struct zforce_point point;
350 point.coord_x =
352 point.coord_y =
355 if (point.coord_x > pdata->x_max ||
356 point.coord_y > pdata->y_max) {
358 point.coord_x, point.coord_y);
359 point.coord_x = point.coord_y = 0;
362 point.state = payload[9 * i + 5] & 0x03;
363 point.id = (payload[9 * i + 5] & 0xfc) >> 2;
366 point.area_major = max(payload[9 * i + 6],
368 point.area_minor = min(payload[9 * i + 6],
370 point.orientation = payload[9 * i + 6] > payload[9 * i + 7];
372 point.pressure = payload[9 * i + 8];
373 point.prblty = payload[9 * i + 9];
376 "point %d/%d: state %d, id %d, pressure %d, prblty %d, x %d, y %d, amajor %d, aminor %d, ori %d\n",
377 i, count, point.state, point.id,
378 point.pressure, point.prblty,
379 point.coord_x, point.coord_y,
380 point.area_major, point.area_minor,
381 point.orientation);
384 input_mt_slot(ts->input, point.id - 1);
387 point.state != STATE_UP);
389 if (point.state != STATE_UP) {
391 point.coord_x);
393 point.coord_y);
395 point.area_major);
397 point.area_minor);
399 point.orientation);