Appendix D - CTKERN Function Reference
CARROLL TOUCH
D-10
Touch System Programmer’s Guide
GetCurrentScalingModeAndParameters (10)
Description
This function gets the current scaling mode and the current scaling
parameters. The scaling mode determines how the touch coordinates
reported by CTKERN are scaled.
If the scaling mode is set to disabled, the contents of the scaling data
structure are undefined.
Call with
AL
= 10 (function number).
CX
= Segment of four-word buffer to hold the scaling data
structure.
DX
= Offset of four-word buffer to hold the scaling data
structure.
Returns
BL
=
Scaling mode.
00 =
Scaling disabled.
01 =
Fixed scaling.
02 =
Automatic scaling.
The scaling data structure that contains the scaling data for the scaling
that is in effect at the time that this function is called is placed in the
buffer that was pointed to by
CX
and
DX
. The scaling data structure is:
WORD Upper Left X
WORD Upper Left Y
WORD Lower Right X
WORD Lower Right Y
Summary of Contents for TouchSystems CarrollTouch Prog
Page 1: ...CARROLL TOUCH TOUCH PRODUCTS an company AMP Touch System Programmer s Guide ...
Page 11: ...Table of Contents CARROLL TOUCH viii ...
Page 13: ...Table of Contents CARROLL TOUCH x ...
Page 17: ...Welcome CARROLL TOUCH xiv Touch System Programmer s Guide ...
Page 41: ...Chapter 3 General Programming Issues CARROLL TOUCH 3 12 Touch System Programmer s Guide ...
Page 57: ...Chapter 4 Smart Frame Protocol CARROLL TOUCH 4 16 Touch System Programmer s Guide ...
Page 237: ...Appendix D CTKERN Function Reference CARROLL TOUCH D 42 Touch System Programmer s Guide ...