Appendix B - Smart-Frame Protocol II Function Reference
CARROLL TOUCH
B-12
Touch System Programmer’s Guide
GetTouchState (01H)
Command Description
The GetTouchState (01H) command instructs the touch system to
return the current touch state and coordinates.
Command Format
01
Report Description
The Touch State Report contains the touch state and x, y, and z
coordinates that together describe the current state of the touch system.
The touch state parameter is a single byte that reports whether the touch
system is currently being touched. The x, y, and z coordinates are all
16-bit parameters that report the location and pressure of the touch. If
the touch system does not support the z-axis, the z-axis parameter is 0.
The host should use either the TouchReportingMode parameter in the
SetTouchModes (20H) command (the preferred method) or the
ReportingMode parameter in the SetReportProperties (21H) command
to indicate under what conditions the Touch State Report should be
sent.
•
To send Touch State Reports to the host only when requested, set
the Reporting Mode to solicited only.
•
To send Touch State Reports continuously or whenever a
parameter changes, set the Reporting Mode to continuous or
parameter change, respectively.
Report Format
01 TouchState XCoordHi XCoordLo YCoordHi
YCoordLo ZCoordHi ZCoordLo
TouchState
=
Value for the TouchState parameter:
00 = Not touched. The x, y, and z parameters report
where and how hard the screen was last touched.
01 =
Touched. The x, y, and z parameters report where
and how hard the screen is currently being
touched.
02 =
Non-contiguous. The x, y, and z parameters are
undefined if the screen is being touched with
more than one finger.
Содержание TouchSystems CarrollTouch Prog
Страница 1: ...CARROLL TOUCH TOUCH PRODUCTS an company AMP Touch System Programmer s Guide ...
Страница 11: ...Table of Contents CARROLL TOUCH viii ...
Страница 13: ...Table of Contents CARROLL TOUCH x ...
Страница 17: ...Welcome CARROLL TOUCH xiv Touch System Programmer s Guide ...
Страница 25: ...Chapter 1 Introduction to Infrared Touch Systems CARROLL TOUCH 1 8 Touch System Programmer s Guide ...
Страница 29: ...Chapter 2 Introduction to Guided Wave Touch Systems CARROLL TOUCH 2 4 Touch System Programmer s Guide ...
Страница 41: ...Chapter 3 General Programming Issues CARROLL TOUCH 3 12 Touch System Programmer s Guide ...
Страница 57: ...Chapter 4 Smart Frame Protocol CARROLL TOUCH 4 16 Touch System Programmer s Guide ...
Страница 87: ...Chapter 6 Touch Application Program Interface TAPI CARROLL TOUCH 6 10 Touch System Programmer s Guide ...
Страница 149: ...Appendix A Smart Frame Protocol Command Reference CARROLL TOUCH A 40 Touch System Programmer s Guide ...
Страница 179: ...Appendix B Smart Frame Protocol II Function Reference CARROLL TOUCH B 30 Touch System Programmer s Guide ...
Страница 237: ...Appendix D CTKERN Function Reference CARROLL TOUCH D 42 Touch System Programmer s Guide ...