Lines Matching refs:touch
60 u8 touch; in pixcir_ts_parse() local
88 touch = rdbuf[0] & 0x7; in pixcir_ts_parse()
89 if (touch > tsdata->max_fingers) in pixcir_ts_parse()
90 touch = tsdata->max_fingers; in pixcir_ts_parse()
92 report->num_touches = touch; in pixcir_ts_parse()
95 for (i = 0; i < touch; i++) { in pixcir_ts_parse()
113 struct pixcir_touch *touch; in pixcir_ts_report() local
124 touch = &report->touches[i]; in pixcir_ts_report()
125 pos[i].x = touch->x; in pixcir_ts_report()
126 pos[i].y = touch->y; in pixcir_ts_report()
133 touch = &report->touches[i]; in pixcir_ts_report()
136 slot = input_mt_get_slot_by_key(ts->input, touch->id); in pixcir_ts_report()
139 touch->id); in pixcir_ts_report()
150 input_event(ts->input, EV_ABS, ABS_MT_POSITION_X, touch->x); in pixcir_ts_report()
151 input_event(ts->input, EV_ABS, ABS_MT_POSITION_Y, touch->y); in pixcir_ts_report()
154 i, slot, touch->x, touch->y); in pixcir_ts_report()