Share via


Touch Proxy Driver (Compact 2013)

3/26/2014

The Compact 2013 touch driver has a stream interface; the Windows Embedded CE 6.0 driver does not. Therefore, Compact 2013 includes the touch proxy driver to provide the Windows Embedded CE 6.0 interface for GWES to use, which minimizes changes to GWES.

Header file %_WINCEROOT%\public\common\oak\inc\tchddi.h defines the proxy driver interface.

The following table describes the functions implemented by the touch proxy driver.

Function

Description

TouchPanelCalibrateAPoint

Calibrates a touch point.

TouchPanelDisable

Disables the touch screen.

TouchPanelEnable

Enables the touch screen and sets the callback function that the driver calls to provide single-touch data. This function provides compatibility with Windows Embedded CE 6.0 single-touch drivers. GWES calls this function only if it determines that the TouchPanelEnableEx function does not exist.

TouchPanelEnableEx

Enables the touch screen and sets the callback function that the driver calls to provide multi-touch data. This function was introduced in Compact 7; Windows Embedded CE 6.0 drivers do not have it. If the touch driver implements this function, GWES calls it. If not, GWES calls TouchPanelEnable.

TouchPanelGetDeviceCaps

Returns information about the capabilities of the touch panel and driver. This function can provide the type of touch screen. For more information, see Comparison to Touch and Gesture in Windows Embedded CE 6.0.

TouchPanelInitializeCursor

Sets the callback function that the driver calls to initialize the cursor. Drivers for devices that do not have cursors do not have this function.

TouchPanelPowerHandler

Sets the hardware appropriately, when the system is turning on or off.

TouchPanelReadCalibrationAbort

Aborts the currently active call to the TouchPanelCalibrateAPoint function.

TouchPanelReadCalibrationPoint

Initiates the process of getting a calibration point.

TouchPanelRegisterCallback

Sets the callback function that the driver calls to provide multi-touch data.

TouchPanelSetCalibration

Sets the calibration information that the TouchPanelCalibrateAPoint function uses to calibrate a touch point.

TouchPanelSetMode

Sets the sample rate or the priority of the interrupt service thread.

See Also

Concepts

Touch Driver Architecture