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:

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 lebsack.lesly
3 hours ago
Last post by xbogan
1 hour ago
Net Compact
Started by hillard61
Last post by curt45
3 hours ago
Last post by qcorwin
4 hours ago
Last post by smurray
3 hours ago
Last post by cristal.boyle
2 hours ago
Last post by alvina.brakus
3 hours ago
Last post by betty44
2 hours ago
Last post by vnikolaus
38 minutes ago
Last post by virgie.wilderman
1 hour ago
Last post by turner.alexandra
3 hours ago
Last post by fwisoky
3 hours ago
Last post by sankunding
3 hours ago
Last post by sydni.trantow
1 hour ago
Last post by dbayer
4 hours ago