Appendix E - Dynamic Link Library (DLL) Function Reference
CARROLL TOUCH
E-12
Touch System Programmer’s Guide
SetCalibInfo (7)
Description
This function sets the calibration parameters that the driver uses to
convert raw touch coordinates to touch coordinates that correspond to
the 65535 x 65535 Windows virtual display screen. To calculate the
correct calibration parameter values, you must first get the raw touch
coordinates that correspond to the upper left and lower right corners of
the video image. This is typically done by displaying touch targets in
the corners and using the GetTouchStateandCoord function to get the
raw touch information. You then calculate the calibration parameters as
shown in the CalculateCalibInfo function and send them to the driver
via SetCalibInfo.
IMPORTS Statement in the Definition File
SetCalibInfo=MOUSE.7
Functions Prototype
void FAR PASCAL SetCalibInfo(LPSTR);
Data Structure and Parameter Variable
typedef struct tagCALIBINFO {
long int Xmag;
long int Xoff;
long int Ymag;
long int Yoff;
} CALIBINFO_TYPE calibinfo;
static CALIBINFO_TYPE calibinfo;
Содержание 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 ...