LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

initialize multiple mice

Solved!
Go to solution

Is there a way to initialize multiple mice?  I am running an application which allows for separate mice to control separate cursors on the same pc, called Plural Input.

 

I would like to be able to track the position of both mice, however I am only able to track my system mouse.  

 

 

0 Kudos
Message 1 of 2
(2,641 Views)
Solution
Accepted by topic author bwmerrill

As far as I know, LV has no way of distinguishing the mice, as the OS abstracts that away.

 

One option might be to use the Windows Message Queue library to see if the WMs do include a mouse ID as part of a mouse move message.

 

Another would be to install the device as a USB RAW device and read the data yourself. You can see some details about it here - http://forums.ni.com/t5/LabVIEW/Nugget-1-of-n-GEtting-started-with-USB-communication-via-VISA/m-p/74...  and there should also be one or two followup threads, so do a search for "USB nugget" if you want to read them. Personally, I haven't done something like this, but I understand it should work.


___________________
Try to take over the world!
0 Kudos
Message 2 of 2
(2,612 Views)