Java mouse motion anywhere on screen

Posted by Dave on Stack Overflow See other posts from Stack Overflow or by Dave
Published on 2010-03-18T11:49:09Z Indexed on 2010/03/18 11:51 UTC
Read the original article Hit count: 376

Filed under:
|
|

I'm sure this is possible but all my searching is coming up blank.

In Java is it possible to register for a mouse motion event outside of a Java app? So if the mouse pointer moves anywhere on the screen I get a call back. An approximation is possible with polling MouseInfo.getPointerInfo but there must be a better way.

Thanks

© Stack Overflow or respective owner

Related posts about java

Related posts about mouseevent