Hi Sebastian,

Just set the KeyEvent to 0.

Robert.

On 7 November 2016 at 07:53, Sebastian Schmidt <[email protected]> wrote:
> 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
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to