This article gives an overview on how to interface a USB Touch device on Toradex modules. Single-touch refers to a single physical contact point whereas multi-touch refers to support for two or more concurrent physical contacts. This driver supports single-touch only. Multi-touch support has not been implemented yet.
If the USB Touch is not working after the driver has been installed, please follow the below mentioned procedures:
[HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\<VID>_<PID>\Default\Default\Touch] "DLL"="USBHidTouch.DLL"
<VID>
and <PID>
must be decimal values, for example:
[HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\10248_33225\Default\Default\Touch] "DLL"="USBHidTouch.DLL"
If the driver is loading but the touch is still not working, please follow the below mentioned steps:
ForceUseRegistry
to get Touch physical resolution (get it from the datasheet or refer How to get USB touch physical resolution).HorizontalResolution
and VerticalResolution
registry entries using the Registry Editor (StartMenu-> Programs->ColibriTools->Regedit) Tool.
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH] "ForceUseRegistry"=dword:00000001 "HorizontalResolution"=dword:00000000 ; enter the touch screen's physical X resolution here "VerticalResolution"=dword:00000000 ; enter the touch screen's physical Y resolution here
Save the registry, reboot the device, and verify if the touch is working.
If the touch screen is not working as intended, then please try to debug the issue using registry mentioned below:
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH] "DebugMsgsOut"=dword:00000001Please set this registry key value to 1 and Save Registry and then reboot the system. Please log the serial debug messages when reproducing the issue and send us an email with log to support@toradex.com to get support from our engineers.
If the USB Touch is not working after completing the above procedures, please save the USB Descriptor details (refer How to save USB touch HID descriptor details) of USB Touch device and please send us an email at support@toradex.com to get support from our engineers.
<VID>
of the USB touch device and “idProduct” refers to <PID>
of the USB touch device.
Fig 1.