12 touch – Matrix Orbital GTT70A User Manual
Page 41

37
Command Summary
2.12 Touch
12.1 Create A
Touch Region
Dec
Hex
ASCII
254 132
FE 84
þ „
Index X Y Width Height Up Down
Index X Y Width Height Up Down
Index X Y Width Height Up Down
2.0
Create a region of the screen that responds to touch events with a defined single byte and visual update.
Index
Byte
Index used to identify the desired touch region.
X
Signed Short
Leftmost coordinate of the touch region.
Y
Signed Short
Topmost coordinate of the touch region.
Width
Short
Width of the touch region.
Height
Short
Height of the touch region.
Up
Byte
Index of a loaded bitmap that is displayed when the region is released.
Down
Byte
Index of a loaded bitmap that is displayed when the region is touched.
12.2 Clear A
Touch Region
Dec
Hex
ASCII
254 133
FE 85
þ …
Index
Index
Index
2.0
Clear the specified touch region entry from memory and screen, ensuring its events will no longer be reported.
Index
Byte
Index used to identify the desired touch region.
12.3 Clear All
Touch Regions
Dec
Hex
ASCII
254 134
FE 86
þ †
2.0
Clear all touch regions, ensuring their touch events will no longer be reported.
12.4 Change
Touch Reporting
Style
Dec
Hex
ASCII
254 135
FE 87
þ ‡
ReportingType
ReportingType
ReportingType
2.0
Customize the way in which touch events are reported. Default is Region Down.
ReportingType
Byte
Desired touch reporting style, as per eTouchReportingType values.
Table 29: eTouchReportingType values
Value
Description
Value
Description
0
Region None
8
Coord None
1
Region Down
9
Coord Down
2
Region Up
10
Coord Up
3
Region Up/Down
11
Coord Up/Down
4
Region Move
12
Coord Move
5
Region Move/Down
13
Coord Move/Down
6
Region Move/Up
14
Coord Move/Up
7
Region Move/Up/Down
15
Coord Move/Up/Down