I've started tinkering around with mortscript lately to try to resolve my Windows CE 5.0 device's screen calibration problem. Basically, the unit doesn't save its calibration. So I wrote a script that launches Windows CE control panel (Stylus Properties) to allow the user to calibrate the screen. After the user clicks on the OK button, the calibration data is saved in registry and I read the values from registry and save onto the unit's SD card. When the device boots up, the value is read from the SD card and written back to registry.
This is the registry key:
"HKLM\HARDWARE\DEVICEMAP\TOUCH\CalibrationData ". CalibrationData is a string. I used mortscript to load the calibration data upon bootup of the device with the following code:
When the device is fully loaded, I go into the device's registry via regedit to verify whether the values above were loaded into the registry, and I've confirmed that they are. But for some reason, it looks like merely writing the above values into registry isn't enough for the screen calibration values to take effect.
Anyone know if I'm missing a step or two here? Thanks.