Appendix B - Smart-Frame Protocol II Function Reference
CARROLL TOUCH
B-24
Touch System Programmer’s Guide
SetTouchModes (20H)
Command Description
The SetTouchModes (20H) command sets the parameters that control
how the touch system detects and reports touch information.
Note
The only legal value for the TouchStateReportType parameter at
this time is Touch State Report. The Multi Touch State and Raw
Touch State Reports have yet to be defined.
The SetTouchModes (20H) command is an overloaded command.
•
If the host sends only the command number, no touch mode
parameters are modified and the Set Touch Modes Report is sent to
report the current state of the touch mode parameters.
•
If the host sends the entire command with all parameters, the touch
mode parameters are modified and the Set Touch Modes Report is
sent to report the current state of the touch mode parameters.
•
If the host sends the SetTouchModes (20H) command number with
any other combination of parameters, an invalid parameter error is
returned in Cmderr.
The SetTouchModes (20H) command sets the report properties of each
of the Touch State Reports to implement the functionality specified by
the TouchStateReportType and TouchReportingMode parameters. For
example, if the TouchStateReportType parameter was set to Touch
State Report and the TouchReportingMode parameter was set to
Parameter Change Mode, the SetTouchModes (20H) command would
set the TouchState reporting mode to Parameter Change Mode and the
MultiTouchState and RawTouchState reporting modes to Solicited
Only Mode. If the TouchStateReportType parameter was set to
RawTouchState and the TouchReportingMode parameter was set to
Continuous Mode, the SetTouchModes (20H) command would set the
TouchState and MultiTouchState reporting modes to Solicited Only
Mode and the RawTouchState reporting mode to Continuous Mode.
The SetTouchModes (20H) command enables or disables touch
detection explicitly. Even if the reporting mode of all TouchState
reports are set to solicited only, the touch detection state is unaffected.
Содержание 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 ...