Login  Register

Re: Mouse callbacks from external native window

Posted by gouessej on Sep 15, 2016; 10:13pm
URL: https://forum.jogamp.org/Mouse-callbacks-from-external-native-window-tp4037197p4037212.html

If you don't use NEWT GLWindow, AWT GLCanvas, SWT GLCanvas or Swing GLJPanel, JOGL won't have access to the mouse events. There is no API in JOGL to get the mouse events of a window not created by JOGL and it's not going to change any time soon for security reasons. Maybe you can use JInput to get the mouse button statuses.
Julien Gouesse | Personal blog | Website