Carrol Touch Modular Flat Panel Specifications Page 247

  • Download
  • Add to my manuals
  • Print
  • Page
    / 274
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 246
Appendix E - Dynamic Link Library (DLL) Function Reference CARROLL TOUCH
E-10 Touch System Programmer’s Guide
GetTouchStateandCoord (5)
Description
This function gets the touch state and the raw touch coordinates from
the touch system. The touch state indicates whether the screen is
touched at the time that the call is made. The X and Y coordinates that
are returned are the raw touch coordinates from the touch system. The
intended purpose for this function is to provide raw touch data to a
calibration program.
IMPORTS Statement in the Definition File
GetTouchStateandCoord=Mouse.5
Functions Prototype
void FAR PASCAL GetTouchStateandCoord (LPSTR);
Data Structure and Parameter Variable
define NOT_TOUCHED 0
define TOUCHED 1
typedef struct tagTOUCHSTATEANDCOORDS {
char touch_state;
char Xcoord;
char Ycoord;
} TOUCHSTATEANDCOORDS_TYPE;
static TOUCHSTATEANDCOORDS_TYPE touchstateandcoords;
Function Call
GetTouchStateandCOORD (&touchstateandcoords);
touch_state = touchstateandcoords.touch_state;
Xcoord = touchstateandcoords.Xcoord;
YCoord = touchstateandcoords.Ycoord;
Page view 246
1 2 ... 242 243 244 245 246 247 248 249 250 251 252 ... 273 274

Comments to this Manuals

No comments