Mouse callbacks from external native window
Posted by Dominik Pospisil on Sep 15, 2016; 11:30am
URL: https://forum.jogamp.org/Mouse-callbacks-from-external-native-window-tp4037197.html
Hi all,
I am using jogamp to render GL scene inside native (c++) application. The (native) window and GL context are both created by the native app. I am obtaining the GL context via:
GLContext ctx = GLDrawableFactory.getDesktopFactory().createExternalGLContext();
My question is if it is also possible get notified of the mouse events inside the native window created by the app? I was looking for a way how to wrap a NativeWindow instance around the existing native window but did not find any way how to do it.
Many thanks!
- Dominik