Hi All,
Included below is a small patch to map the Tab key, which for some reason
stopped working with the recent osgViewer changes.
Can someone please commit to HEAD.
-Stuart
RCS file: /var/cvs/FlightGear-0.9/source/src/Main/FGManipulator.cxx,v
retrieving revision 1.5
diff -u -r1.5 FGManipulator.cxx
--- FGManipulator.cxx 26 May 2007 13:53:46 -0000 1.5
+++ FGManipulator.cxx 30 May 2007 17:54:50 -0000
@@ -159,7 +159,8 @@
case osgGA::GUIEventAdapter::KEY_Escape: key = 0x1b; break;
case osgGA::GUIEventAdapter::KEY_Return: key = '\n'; break;
case osgGA::GUIEventAdapter::KEY_BackSpace: key = '\b'; break;
- case osgGA::GUIEventAdapter::KEY_Delete: key = 0x7f; break;
+ case osgGA::GUIEventAdapter::KEY_Delete: key = 0x7f; break;
+ case osgGA::GUIEventAdapter::KEY_Tab: key = '\t'; break;
case osgGA::GUIEventAdapter::KEY_Left: key = PU_KEY_LEFT;
break;
case osgGA::GUIEventAdapter::KEY_Up: key = PU_KEY_UP;
break;
case osgGA::GUIEventAdapter::KEY_Right: key = PU_KEY_RIGHT;
break;
___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel