\i T ?
Returns the most recent touch event, which is always stored by the controller (even if no key is assigned to the touch field).
Note
| Response: | [ACK] event (point_id) field_idx ev_coord_x ev_coord_y [ACK] |
| Parameter | Type | Range | Description |
|---|---|---|---|
| event | event | K, k, M | event type (refer to table below) |
| point_id | byte | 0 ... 4 | (optional) ID of the touch point (finger) |
| field_idx | byte | 0 ... 63 | index of the touch field |
| ev_coord_x | word | 0 ... display width | horizontal position of the event |
| ev_coord_y | word | 0 ... display height | vertical position of the event |
| Event | Description |
|---|---|
| K | touch has been pressed (make) |
| k | touch has been released (break) |
| M | location of the press has been moved |
| NULL | no event has occurred |
Response Example
[ACK]K[01][00][7D][00][96][ACK]
The last touch event was a make event (touch field was pressed) reported from the touch field with index 1 at coordinates x = 125 pixels and y = 150 pixels. Here, the point_id is missing since only one touch point is evaluated.
See also:
Copyright © demmel products gmbh. All rights reserved.