Search code examples
javamousehuman-computer-interface

How can I handle multiple mouse inputs in Java?


A friend of mine asked me to implement a blue and a red pointer to represent the inputs of two separate mice to expedite a mixing desk scenario for real time audio mixing. I'd love to, but as much as I think it is a great idea, I don't have a clue as to where to start looking for a possible solution.

Where should I start researching a viable method of implementing dual mouse inputs?


Solution

  • Look at jinput.

    I have had multiple keyboards working with it, I am nearly certain it supports multiple mice too.