[osg-users] Escape Key

Bruno Oliveira bruno.manata.oliveira at gmail.com
Mon Jul 3 10:37:08 PDT 2017


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170703/bc4efac1/attachment-0001.htm>


More information about the osg-users mailing list