Lines Matching refs:touch
63 u8 touch; in pixcir_ts_parse() local
91 touch = rdbuf[0] & 0x7; in pixcir_ts_parse()
92 if (touch > tsdata->max_fingers) in pixcir_ts_parse()
93 touch = tsdata->max_fingers; in pixcir_ts_parse()
95 report->num_touches = touch; in pixcir_ts_parse()
98 for (i = 0; i < touch; i++) { in pixcir_ts_parse()
116 struct pixcir_touch *touch; in pixcir_ts_report() local
127 touch = &report->touches[i]; in pixcir_ts_report()
128 pos[i].x = touch->x; in pixcir_ts_report()
129 pos[i].y = touch->y; in pixcir_ts_report()
136 touch = &report->touches[i]; in pixcir_ts_report()
139 slot = input_mt_get_slot_by_key(ts->input, touch->id); in pixcir_ts_report()
142 touch->id); in pixcir_ts_report()
153 input_event(ts->input, EV_ABS, ABS_MT_POSITION_X, touch->x); in pixcir_ts_report()
154 input_event(ts->input, EV_ABS, ABS_MT_POSITION_Y, touch->y); in pixcir_ts_report()
157 i, slot, touch->x, touch->y); in pixcir_ts_report()