beautypg.com

Matrix Orbital GTT70A User Manual

Page 42

background image

Command Summary

38

12.5 Set Dragging
Threshold

Dec
Hex
ASCII

254 137

FE 89

þ ‰

Threshold
Threshold
Threshold

2.0

Set the distance a press is required to travel before a move event is reported. Precision will vary inversely to data
transmitted; care should be taken to find a suitable balance. Distance is calculated as [∆x]^2 + [∆y]^2 = d^2.

Threshold

Short

Dragging threshold value. Default is 3 pixels.

12.6 Calibrate
Touch Screen

Dec
Hex
ASCII

254 139

FE 8B

þ ‹



2.0

Initiate the touch screen calibration sequence. After user input is complete a confirmation byte will be returned,
new calibration settings will be loaded, and the calibration will be saved as \SYSTEM\touchcal.dat. Calibration can
be restored from the file listed above at any time.

Return Message

252 139 Length

Result

Result

Byte

Outcome of Calibrate Touch Screen command, as per
eCalibrationErrorCode values.

Table 30: eCalibrationErrorCode values

Value

Description

1

Calibration Successful

12

Calibration Invalid

12.7 Load Region
File

Dec
Hex
ASCII

254 140

FE 8C

þ Œ

FileName
FileName
FileName

2.0

Load a group of touch region definitions from a file, old regions are cleared. See the Region File example.

FileName

ASCII String

Filename, and path from the root folder, of the region file to load.

Return Message

252 140 Length

Result

Result

Byte

Outcome of Load Region File command, as per eErrorCode values.

12.8 Restore
Touch Calibration

Dec
Hex
ASCII

254 141

FE 8D

þ •



2.0

Restore touch calibration using the data from \SYSTEM\touchcal.dat, if this file is present.

Return Message

252 141 Length

Result

Result

Byte

Outcome of Restore Touch Calibration command, as per
eRestoreCalibrationErrorCode values.

Table 31: eRestoreCalibrationErrorCode values

Value

Description

0

Restore Calibration Invalid

1

Restore Calibration Successful

This manual is related to the following products: