Share via


Initialize Touch Input (Compact 2013)

3/26/2014

Function Touch_Initialize initializes touch input. It calls LoadTouchDriver to load the touch proxy driver DLL and to obtain pointers to the touch proxy driver functions. It obtains pointers for all entry points described in Touch Proxy Driver, except for TouchPanelDisable and TouchPanelRegisterCallback.

Touch_Initialize then calls TouchPanelEnableEx to provide the touch proxy driver a pointer to function UserInputQueue_PutTouchEventsExport. The proxy driver will call this function to provide touch contact data to gesture core.

The caller of Touch_Initialize is function InitializeGweUser. Touch_Initialize also restores calibration or re-calibrates, as necessary.

See Also

Concepts

Touch Event Flow