Loading screen calibration values during bootup

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:

RegWriteString("HKLM","HARDWARE\DEVICEMAP\TOUCH","CalibrationData","2272,1944 1108,873 1119,2956 3387,2990 3321,898 ")

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.

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by mbeahan
3 hours ago
Last post by solon45
21 minutes ago
Last post by iwilkinson
3 hours ago
Last post by nader.reed
4 hours ago
Last post by yjohns
2 hours ago
Last post by bpurdy
14 minutes ago
Last post by mariam21
39 minutes ago
Last post by hill.russel
3 hours ago