Elotouch Driver
Collapse the table of content
Expand the table of content

Elotouch Driver

Description

The Elotouch driver is a KMDF driver that can work as both a multi-touch driver and a mouse driver. Its architecture is very similar to the WacomKMDF Driver.

The sample drivers share code that is located in the following directories:

  • The src\input\hiddigi\common directory contains code that is common to the KMDF sample drivers.

  • The src\input\hiddigii\util directory contains utility functions that are common to all the HID input sample drivers.

Building the Sample

Use the standard driver build tools in the Windows Driver Kit. In a driver directory, type build. The build script will generate the Elotouch.sys driver.

Installation

Driver Files

  • EloMT.inf

  • Elotouch.sys

  • Hidkmdf.sys (build from the src\hid\hidusbfx2\hidmapper directory)

  • WDF co-installer dll from <WDK ROOT>\redist\wdf\<platform>\

To install the drivers, copy the driver files (the .sys and .dll files) and the INF files to the same location. In Device Manager, complete the following steps.

On Windows XP (The driver works as a mouse on Windows XP and Windows Vista):

  1. Right-click the device, and click Update Driver.

  2. Select Install from a list or specific location (Advanced), and then click Next..

  3. Select Don't search. I will choose the driver to install, and then click Have Disk..

  4. In the Install From Disk dialog box, type the path of the directory where you copied the driver and INF file, and then click OK..

  5. Click Finish.

On Windows Vista and Windows 7

  1. Right-click the device, and click Update Driver.

  2. Click the Browse my computer for driver software link.

  3. Click the Let me pick from a list of device drivers on my computer link.

  4. Click Have Disk.

  5. Navigate to the location of the driver file, and click the INF file.

  6. Click OK.

Resources

For information about Microsoft Windows Vista and the Tablet PC, see http://www.microsoft.com/tabletpc.

Code Tour

This section includes a file manifest of all the files in the src\input\hiddigi directory.

File Manifest

src\input\hiddigi \ wacompen

FileDescription

Errcodes.mc

Contains event code and messages.

Pch.h

Precompiled header file.

Sources

WDK sources file.

Makefile

WDK build environment make file.

Elotouch.c

Contains the OEM specific code.

Oempen.c

Contains the OEM specific code.

Elotouch.h

Contains the OEM specific definitions.

Elotouch.rc

The resource file for the driver.

EloMT.inx

INX file that is used to generate the INF file

 

src\input\hiddigi\common

FileDescription

hid.c

Handles all the internal HIDClass IOCTLs.

naturalInput.h

Contains common definitions for UART digitizer drivers.

Pnp.c

Handles Plug and Play (PnP) and power management.

Serial.c

Contains all functions that deal with the serial port.

Serial.h

Contains serial port definitions.

 

src\input\hiddigi\util

FileDescription

Errlog.c

Contains all the error logging functions.

Errlog.h

Contains error logging definitions.

Wtrace.h

Definitions for trace macros. This should be edited to enable tracing if needed.

 

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft