com.jogamp.newt.event.MouseListener

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

com.jogamp.newt.event.MouseListener

Itun
What is the difference between mouseMoved() event and mouseDragged() event?
And why mousePressed()-event returns zero mouse x and y coordinates.
Reply | Threaded
Open this post in threaded view
|

Re: com.jogamp.newt.event.MouseListener

gouessej
Administrator
mouseMoved is called when the mouse is moved with no button pressed whereas mouseDragged is called when the mouse is moved with at least one pressed button.
Julien Gouesse | Personal blog | Website