Added support for 0x and numeric defintion of keys to be used with <click_to_event> functionality.

This commit is contained in:
Robert Osfield
2012-11-30 16:52:59 +00:00
parent 6eb3b2f091
commit d831f1b538
2 changed files with 20 additions and 0 deletions

View File

@@ -136,6 +136,7 @@ public:
virtual bool handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa, osg::Object *, osg::NodeVisitor *)
{
OSG_INFO<<"ForwardToDeviceEventHandler::setEvent("<<ea.getKey()<<")"<<std::endl;
_device->sendEvent(ea);
return false;
}