Once we have installed the
MultiTouchVista driver, or if we happen to have a multi-touch-capable screen, we can initialize an event loop in the application and handle the
The first recipe contains all the relevant information about multi-touch handling. In this recipe, we only extend our code for Microsoft Windows.
This book doesn’t discuss about multi-touch input emulation for Mac.
MinGWtoolchain does not include the latest Windows SDK headers, so a number of constants should be defined to use the
#if !defined(_MSC_VER) #define SM_DIGITIZER 94 #define SM_MAXIMUMTOUCHES 95 #define TOUCHEVENTF_DOWN 0x0001 #define TOUCHEVENTF_MOVE 0x0002 ...