Game Development Reference
In-Depth Information
5.
When all the mice are connected, we can start the driver. We open two command
lines and in the irst one, we run
Multitouch.Service.Console.exe
from
the
MultiTouchVista
package. In the second console window, we run
Multitouch.Driver.Console.exe
without closing the MultiTouch.Server.
Console window. Quit both of these applications to return to the normal non-multi-
touch Windows environment.
How it works...
To check whether the driver and the service work as expected, we can try the standard
Microsoft Paint application and use two or more mice simultaneously to draw something.
See also
F
Handling multi-touch events on Windows
Handling multi-touch events on Windows
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
WM_TOUCH
messages.
Getting ready
The irst recipe contains all the relevant information about multi-touch handling. In this recipe,
we only extend our code for Microsoft Windows.
This topic doesn't discuss about multi-touch input emulation for Mac.