CmdCalibrate

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
Zeile 19: Zeile 19:
 
The calibration procedure collects three touches from the touch screen, then computes and loads an appropriate matrix into&nbsp;<span style="color:#ff0000;">REG_TOUCH_TRANSFORM_A-F</span>.
 
The calibration procedure collects three touches from the touch screen, then computes and loads an appropriate matrix into&nbsp;<span style="color:#ff0000;">REG_TOUCH_TRANSFORM_A-F</span>.
  
To use it, create a display list and then use&nbsp;[[CMDCALIBRATE|CmdCalibrate]]. The co-processor engine overlays the touch&nbsp;targets on the current Display List, gathers the calibration input and updates&nbsp;<span style="color:#ff0000;">REG_TOUCH_TRANSFORM_A-F</span>.
+
To use it, create a display list and then use&nbsp;[[CmdCalibrate]]. The co-processor engine overlays the touch&nbsp;targets on the current Display List, gathers the calibration input and updates&nbsp;<span style="color:#ff0000;">REG_TOUCH_TRANSFORM_A-F</span>.
  
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>

Version vom 12. Dezember 2014, 14:19 Uhr

Action

Execute the touch screen calibration routine.

 

 

Syntax

CmdCalibrate 

 

 

Remarks

The calibration procedure collects three touches from the touch screen, then computes and loads an appropriate matrix into REG_TOUCH_TRANSFORM_A-F.

To use it, create a display list and then use CmdCalibrate. The co-processor engine overlays the touch targets on the current Display List, gathers the calibration input and updates REG_TOUCH_TRANSFORM_A-F.

 

The  completion of this function is detected when the value of REG_CMD_READ is equal to REG_CMD_WRITE.


Languages   English  
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Sprache