From: frohlich Date: Tue, 5 Jun 2007 17:44:49 +0000 (+0000) Subject: Modified Files: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=532389a5bdbce5596cbfbf1949640a97875bc12b;p=flightgear.git Modified Files: FGManipulator.cxx: Stuart Buchanan: add tab key translation. --- 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;