From 532389a5bdbce5596cbfbf1949640a97875bc12b Mon Sep 17 00:00:00 2001 From: frohlich Date: Tue, 5 Jun 2007 17:44:49 +0000 Subject: [PATCH] Modified Files: FGManipulator.cxx: Stuart Buchanan: add tab key translation. --- src/Main/FGManipulator.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Main/FGManipulator.cxx b/src/Main/FGManipulator.cxx index 580b82d48..644248474 100644 --- a/src/Main/FGManipulator.cxx +++ b/src/Main/FGManipulator.cxx @@ -159,7 +159,8 @@ void FGManipulator::handleKey(const osgGA::GUIEventAdapter& ea, int& key, 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; -- 2.39.5