Carrol Touch Modular Flat Panel Specifications Page 231

  • Download
  • Add to my manuals
  • Print
  • Page
    / 274
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 230
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.
Page view 230
1 2 ... 226 227 228 229 230 231 232 233 234 235 236 ... 273 274

Comments to this Manuals

No comments