Specifications
Appendix E - Dynamic Link Library (DLL) Function Reference CARROLL TOUCH
 E-16 Touch System Programmer’s Guide
SetTouchEvents (8)
Description
This function sets the mouse/touch event mapping parameters. The 
mouse events and the associated codes are specified in Table E-3.
IMPORTS Statement in the Definition File
SetTouchEvents=MOUSE.8
Functions Prototype
void FAR PASCAL SetTouchEvents (LPSTR);
Data Structure and Parameter Variable
typedef struct tagTOUCHEVENTS {
char user_touch_event;
char user_untouch_event;
char user_noncontig_event;
} TOUCHEVENT_TYPE
static TOUCHEVENTS_TYPE touchevents;
Function Call
touchevents.user_touch_event= 2;
touchevents.user_untouch_event= 3;
touchevents.user_noncontig_event= 0;
SetTouchEvents(&touchevents);
Table E-3. Definition of Touch Events
Event Definition
Touch Event A finger enters the touch screen.
Untouch Event The finger leaves the touch screen.
Non-Contiguous 
Event
More than one finger is present in the touch 
screen at the same time.










