Appendix D - CTKERN Function Reference
CARROLL TOUCH
D-36
Touch System Programmer’s Guide
SetTouchState (2)
Description
This function sets the touch state that CTKERN reports. It is useful for
debugging, or any other situation where it is necessary to force the
touch state to be a particular value without a touch actually occurring.
Call with
AL
= 2 (function number).
BH
= Touch pressure (z-axis).
BL
= Touch state.
00 = Not touched (x, y set to last place the screen was
touched).
01 =
Touched (x, y set to where the screen is touched).
02 =
Non-contiguous (x, y undefined).
CX
= X coordinate.
DX
= Y coordinate.
Notes
If calling this function causes the touch state to change and a CTKERN
user event handler is installed and enabled, the user event handler is
called just as if the change in touch state had resulted from an actual
touch.
You must ensure that the touch coordinates passed in this function are
compatible with the scaling mode and parameters that are in effect at
the time that this function is called. This function performs no
parameter checking.
Содержание 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 ...