Elo TouchSystems MonitorMouse FOR WINDOWS NT Version 2.0 manual $Sshqgl%, Programming Options

Models: MonitorMouse FOR WINDOWS NT Version 2.0

1 35
Download 35 pages 10.31 Kb
Page 32
Image 32
$SSHQGL[￿%

$SSHQGL[￿%

Programming Options

Z-Axis Capabilities 27

Launching the Touchscreen Control Panel 29

Calibrating from Within Your Program 29

Z-AXIS CAPABILITIES

Windows NT programmers can take advantage of IntelliTouch Z-axis capabilities. For a demo of Z-Axis run ZAXIS.EXE from the \ELO directory. This program is installed by using the Custom option in Setup. Run Setup again to install the programming tools.

To access the Z reporting capabilities of the driver in Win32, the device is accessed via its Win32 name "MMDev". The CreateFile function opens the MMDev device and returns a handle to it. This handle is subsequently used in the DeviceIoControl function call which is the mechanism used to obtain Z data from the driver. The I/O control code IOCTL_MM_ZAXIS_SUPPORT is the parameter used to query the driver to see if the controller supports Z reporting capabilities (IntelliTouch). The I/O control code IOCTL_MM_ZAXIS is the function parameter passed to the DeviceIoControl function to obtain Z data.

27

Page 32
Image 32
Elo TouchSystems MonitorMouse FOR WINDOWS NT Version 2.0 manual $Sshqgl%, Programming Options, Z-Axis Capabilities