Im thinking of making a game that requires two mice to play. It needs to register the movement separately from one another. Is this possible? Or does the Windows architecture not allow for such things?
Thank you.
|
|
Turns out you're in luck, kind of. http://superuser.com/questions/29432/using-two-mice-in-windows-7-dual-mouse-dual-cursor Because mice are just another kind of HID (human interface device) you can plug in as many as you want, but custom software is required to actually do anything with them. Beyond that link is a page to Microsoft's research called Multipoint and examples of how it was used. |
|||
|
|
|
Yes. Multiple mouse input is possible. Here are some example games. Quick explanation:
With sample code (zip file). |
|||
|
|
|
I found the library that I used back in the day. Yay! http://grouplab.cpsc.ucalgary.ca/software/SDGT/ It's designed for use with .Net and XP, but the DLL works on my Win7 64-bit machine. The DLL has some quirks, but at a minimum, it's a proof of concept, and it's documented. Edit: Not sure I'd recommend using this library these days, the other answers seem to provide some more recent, and probably cleaner results. |
||||
|
|