为了正常的体验网站,请在浏览器设置里面开启Javascript功能!

win7触摸驱动开发

2011-09-25 2页 doc 37KB 61阅读

用户头像

is_457775

暂无简介

举报
win7触摸驱动开发http://msdn.microsoft.com/en-us/library/ff553747(v=VS.85).aspx Windows Touch Overview (Windows 7) Windows Touch is the name for the touch and multitouch functionality in the Windows 7 operating system. In the context of Windows Touch, touch refers to support of a si...
win7触摸驱动开发
http://msdn.microsoft.com/en-us/library/ff553747(v=VS.85).aspx Windows Touch Overview (Windows 7) Windows Touch is the name for the touch and multitouch functionality in the Windows 7 operating system. In the context of Windows Touch, touch refers to support of a single physical contact point, whereas multitouch refers to support for two or more concurrent physical contacts. Choosing to Provide a Driver In Windows 7, vendors who support Windows Touch might be required to provide a driver. If your digitizer device supports HID in firmware, you are not required to provide a driver. If your device does not support HID in firmware, you must include a driver that simulates HID support. We recommend that touch devices be USB HID devices, and that vendors do not supply a driver. In this scenario, the report descriptor and related information is provided in firmware. Whether you provide a driver or not, you must support selective suspend in your INF file. For more information about how to support selective suspend, see Enabling USB Selective Suspend for HID Devices. A vendor-supplied driver should limit the processing that it does to avoid slower system performance and shorter battery life in mobile scenarios. Touch devices should process as much as they can in firmware to provide an optimal user experience. Driver Model If you provide a driver, we recommend that you write a KMDF-based lower filter driver. Your driver should provide the same functionality as a HID minidriver, but register as a filter driver under a minimal WDM driver (also known as a shim driver). A shim driver is necessary because KMDF 1.9 does not natively support HID minidrivers. In Windows 7 and later versions of Windows, you can use the system-supplied Mshidkmdf.sys driver as a shim. Mshidkmdf.sys is not system-supplied in earlier versions of Windows. If you are supporting versions of Windows earlier than Windows 7, you can build the shim driver yourself. The WDK contains the source code for this driver, in the src\hid\hidusbfx2\hidmapper subdirectory. For more information about how to build the shim driver, see the HIDUSBFX2 sample readme in the WDK. WDM is not recommended for any natural input driver, including drivers that support Windows Touch. Samples The WacomKMDF and EloMT sample drivers show how to pair Mshidkmdf.sys with a vendor-supplied lower filter driver. EloMT is a KMDF-based sample digitizer driver that provides multitouch support. WacomKMDF is a KMDF-based sample pen driver. Both samples use Mshidkmdf.sys as the nominal HID minidriver while the vendor-supplied KMDF driver is a lower filter driver under Mshidkmdf.sys. Mshidkmdf.sys forwards IRPs to the vendor-supplied lower filter driver. The EloMT sample includes all the functionality that is required for a multitouch driver to run on Windows 7. The Elotouch driver can work as both a multitouch and a mouse driver.     Send comments about this topic to Microsoft Build date: 9/7/2011 http://task.zhubajie.com/861090/ http://social.msdn.microsoft.com/Search/en-us?query=windows7+touch http://msdn.microsoft.com/en-us/magazine/ee336016.aspx http://ishare.iask.sina.com.cn/f/15956133.html?from=like
/
本文档为【win7触摸驱动开发】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。 本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。 网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。

历史搜索

    清空历史搜索