开发者

Multitouch pad for Win32 application on Windows 7

开发者 https://www.devze.com 2023-02-10 11:01 出处:网络
I am developing an Win32 application (Windows 7) that uses a multitouch input. I tried several multitouch pads working on Windows, such as MSI starpad and Macbook pro built-in touchpad (booted in Wind

I am developing an Win32 application (Windows 7) that uses a multitouch input. I tried several multitouch pads working on Windows, such as MSI starpad and Macbook pro built-in touchpad (booted in Window 7 using Bootcamp), but none of them generate Windows multitouch or gesture event. Does anyone know how these touchpad drivers send multi开发者_如何转开发touch signals to win32 applications?


The touch capability is either reported by firmware via Microsoft's HID driver or by a custom HID driver.


According to this page:

MultiTouch Capabilities in Windows 7

You need to handle the messages WM_TOUCH and WM_GESTURE in a windows procedure.

0

精彩评论

暂无评论...
验证码 换一张
取 消