Hi,
I've just checked. My osg-3.4.0 based code uses
"
else if (osgGA::GUIEventAdapter::KEY_Escape == ea.getKey())
"
so it obviously works ..
The Eventhandler is the first however (since it is a console), so maybe
this might be worth a shot.
Cheers
Sebastian
Hello,
I am using an event handler for catching keyboard's escape key.
However, my osgGA::GUIEventAdapter::getKey() returns 0x1B, when it
should be returning osgGA::GUIEventAdapter::KEY_Escape (which is 0xFF1B).
What's wrong here? the Osg's enum, or my code?
_______________________________________________
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