
Chapter NUI-9. Using Multiple Mice

Contact Address:
  Dr. Andrew Davison
  Dept. of Computer Engineering
  Prince of Songkla University
  Hat Yai, Songkhla 90112, Thailand
  E-mail: ad@fivedots.coe.psu.ac.th
  http://fivedots.coe.psu.ac.th/~ad/jg

If you use this code, please mention my name, and include a link
to the Web site.

Thanks,
  Andrew

=============================================
MiceReporter

MiceReporter lists all the 'mouse controllers' detected by JInput; 
JInput's definition of a mouse is quite generous, so MiceReporter 
will list touch pads and Thinkpad-style pointing sticks as well.


=============================================
Software/Hardware You Need

* The JInput API for Windows, available from 
  http://java.net/projects/jinput

* Two mice connected to your PC, or a touch pad and a mouse


=============================================
Compilation: 

Use the compile.bat batch file.

$ compile MiceReporter.java
    // make sure you have JInput installed

compile.bat assumes the JInput library files are located
in d:\jinput\bin. Change the batch file to match where you've
placed the files.

=============================================
Execution: 

Use the run.bat batch file.

$ run MiceReporter
    // make sure you have JInput installed

run.bat assumes the JInput library files are located
in d:\jinput\bin. Change the batch file to match where you've
placed the files.

---------
Last updated: 29th August 2012