[osg-users] Disable/Enable default keyevent during runtime
Sebastian Schmidt
herrdersuppen at gmail.com
Sun Nov 6 23:53:34 PST 2016
Hi,
I want to disable default keyevents during runtime,
so that all key event will be redirected to the osgWidget::Input
and enable them again later.
I dont want to delete/recreate all of these handlers (Statshandler, Helphandler,etc.)
or create new custom classes for them.
Wouldnt it be easier to call the setKeyEvent... functions with a key that is not in use?
Unfortunately we dont have something like osgGA::GUIEventAdapter::KEY_NONE, right?
So what would be the best approach here?
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69252#69252
More information about the osg-users
mailing list