Sshqgl, Programming options – Elo TouchSystems MonitorMouse FOR WINDOWS NT Version 2.0 User Manual

Page 32

Advertising
background image

27

$SSHQGL[%

Programming Options

Z-Axis Capabilities 27

Launching the Touchscreen Control Panel 29

Calibrating from Within Your Program 29

Z-A

XIS

C

APABILITIES

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.

Advertising