Multitouch pad for Win32 application on Windows 7
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.
精彩评论