We use an USB based capacitive touch in aT20 (WEC7) based device. The same touch and the same display is used in an other X86 based application under Windows Embedded 7.
The manufacturer of the touch calibrates the touch for the X86 application and the calibration data are stored in the controller of the touch (NOT in the X86 device). A calibration in the X86 based device is not necessary.
If we use the touch in the T20 based device under WEC7 we must recalibrate it.
WEC7 always feeds the touch coordinates through the calibration function.
This function does not only compensate inaccuracies, but it also can transform coordinates for example for rotated screens.
The calibration information is stored in the registry at
Is there a possibility to disable or remove the recalibration function of the stylus tool in the control panel?
Alternatively, how can I remove the complete stylus tool from the control panel?
There is no simple way to disable the Calibration function or the Stylus applet alone.
The Stylus applet is part of the cplmain.cpl file. You can overwrite this with an empty file:
create an empty file (e.g. with Notepad)
store the empty file to \FlashDisk\AutoCopy\Windows\cplmain.cpl
Reboot
This will disable most of the control panel applets, including the Stylus.
Another option would be to disable the whole file explorer, to prevent users from accessing any files or control panel applets outside your own application.
Dear @Minhas
Sorry for the late reply - I’m not in support anymore and was out of office for two weeks.
Here’s an approximate guide for the steps you need to take:
Preparation and Learning:
Access the WinCe’s command line
Type regedit /? to learn about the command line options of the registry editor.
Copy the exported registry file to the USB drive, for example to \USB HD\AutoRun\calibration.reg
Type the following to import the registry file using the command line: regedit 'USB HD\AutoRun\calibration.reg'
Actual Implementation:
Use Notepad to create a WinCe shortcut file, for example calibrate.lnk (prefix the command above with its length and a hash sign): Shortcut | Toradex Developer Center
Store this shortcut file in the folder \USB HD\AutoRun\
I wrote these instructions out of my head without testing - please apologize if there are any minor mistakes.