This discussion is archived
0 Replies Latest reply: Apr 12, 2007 4:45 PM by 807596 RSS

Mouse Button/keys

807596 Newbie
Currently Being Moderated
Is there anything in Java I can use to directly check if the left mouse button is pressed. I'm hoping for a boolean function which I can check every 50 ms or so as I am already checking to see where the mouse is at. I cant find anything that directly checks the state of the mouse. If you know of a way to do this for the keyboard to that would be amazing.