From Daniel Sjölie, updates to the GUIEventAdapter and GLUTEventAdapter to handle

key and key down, modifiers and funcion keys.
This commit is contained in:
Robert Osfield
2003-01-14 14:25:56 +00:00
parent a03fff8c57
commit 59969be08d
18 changed files with 99 additions and 28 deletions

View File

@@ -65,7 +65,7 @@ bool AnimationPathManipulator::handle(const osgGA::GUIEventAdapter& ea,osgGA::GU
handleFrame( ea.time() );
retval = true;
break;
case GUIEventAdapter::KEYBOARD:
case GUIEventAdapter::KEYDOWN:
if (ea.getKey()==' ')
{
home(ea,us);