PDA

View Full Version : Two mice (mouses)?


damxam
03-11-2008, 07:32 PM
Hey all,
I'm thinking about creating an app that uses input from two mice instead of just the one.

Is it possible to receive input from two mice separately so I can do useful things with it? Or possible to hack it in?

Cheers,
Max

farshizzo
03-12-2008, 03:57 PM
Vizard does not have builtin support for multiple mice. Windows can read data from multiple mice using their raw input API. You could write a Python C extension that uses this API and returns the mouse positions to your script.

damxam
03-12-2008, 04:22 PM
Hey Farsh, thanks for the reply. That's what I feared =p

I suppose I'll play around a bit and see if it's reasonably simple or devilishly hard.