PDA

View Full Version : 2 player mouse/trackball game



fitzbean
25-04-2003, 05:50 AM
Is it posible to control 2 mouse devices independently? I.E. a 2 player trackball game?

Alimonster
26-04-2003, 02:30 PM
I couldn't say for sure. However, here's a snippet from Tricks of the Windows Game Programming Gurus (page 543 in my edition) that might set you on the way:


A while ago, an astute reader sent me an email asking about how to detect and use more than one mouse. I hadn't really thought about it, but if the driver supports more than one mouse, you should be able to use it under DirectInput. In this case, you would have to query for the secondary mouse GUID to create it

fitzbean
30-04-2003, 09:37 PM
hmm interesting, thanks