Multiple mice are connected to the computer, how to determine the exact mouse that triggered the event in the Applet?

I am planning a buzzer code for an event. There will be several commands and each command will click the mouse when it knows the answer, now I have to identify the mouse that clicked first. All mice are connected to one computer. Is it possible to identify the mouse that triggered the event?

+3


source to share


1 answer


Native methods are the only way to do this, and I don't think native methods can help you unless you are hacking into the operating system. The operating system hides all the differences between the two mice. You can also rewind the mouse so that one person can only right-click and one person can only left-click and differentiate between right and left clicks.



0


source







All Articles