wince下触摸屏校准的数据存放在哪,和触摸屏驱动的关系如何呢?

mhorse 2004-12-20 05:18:36
有高手知道吗?请指点一下?
...全文
199 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
ajn_sailing 2005-04-09
  • 打赏
  • 举报
回复
mark
mhorse 2004-12-21
  • 打赏
  • 举报
回复
虽然昨晚自己搞定了,但是还是对 joyfly(cnemb.com) 乐于助人的精神表示感谢!
joyfly 2004-12-21
  • 打赏
  • 举报
回复
存在注册表里
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
"CalibrationData"="488,486 738,239 234,240 236,730 739,727 "

The following steps detail the basic algorithm that you, the driver developer, can use to sample and calibrate the screen with the touch screen driver:

1.Call the TouchPanelEnable function to start the screen sampling.
2.Call the TouchPanelGetDeviceCaps function to request the number of sampling points.
3.For every calibration point, perform the following steps:
a.Call TouchPanelGetDeviceCaps to get a calibration coordinate.
b.Draw a crosshair at the returned coordinate.
c.Call the TouchPanelReadCalibrationPoint function to get calibration data.
4.Call the TouchPanelSetCalibration function to calculate the calibration coefficients.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceddk40/html/cxcontouchscreendrivers.asp

19,502

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 嵌入开发(WinCE)
社区管理员
  • 嵌入开发(WinCE)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧