]> git.mxchange.org Git - flightgear.git/commitdiff
- removed hard-coded bindings for ^R (toggle winding-ccw), W (toggle
authorcurt <curt>
Mon, 16 Jul 2001 04:35:15 +0000 (04:35 +0000)
committercurt <curt>
Mon, 16 Jul 2001 04:35:15 +0000 (04:35 +0000)
  3DFX full-screen mode), Shift-F10 (toggle FDM data logging)

src/Input/input.cxx

index 51f0b7c8ba03eb1ae7465a1685cc764a14768bde..812019359e779e1e3d57e262c09c561c48627e59 100644 (file)
@@ -261,26 +261,11 @@ FGInput::doKey (int k, int modifiers, int x, int y)
   if (modifiers&FG_MOD_UP)
     return;
 
-  // float fov, tmp;
-  static bool winding_ccw = true;
-  // int speed;
-  // FGInterface *f = current_aircraft.fdm_state;
-  // FGViewer *v = globals->get_current_view();
-  
   // everything after here will be removed sooner or later...
 
   if (modifiers & FG_MOD_SHIFT) {
 
        switch (k) {
-       case 18: // Ctrl-R key
-           // temporary
-           winding_ccw = !winding_ccw;
-           if ( winding_ccw ) {
-               glFrontFace ( GL_CCW );
-           } else {
-               glFrontFace ( GL_CW );
-           }
-           return;
        case 72: // H key
            HUD_brightkey( true );
            return;
@@ -288,25 +273,6 @@ FGInput::doKey (int k, int modifiers, int x, int y)
            // Minimal Hud
            fgHUDInit2(&current_aircraft);
            return;
-       case 87: // W key
-#if defined(FX) && !defined(WIN32)
-           global_fullscreen = ( !global_fullscreen );
-#  if defined(XMESA_FX_FULLSCREEN) && defined(XMESA_FX_WINDOW)
-           XMesaSetFXmode( global_fullscreen ? 
-                           XMESA_FX_FULLSCREEN : XMESA_FX_WINDOW );
-#  endif
-#endif
-           return;
-
-// START SPECIALS
-
-        case 256+GLUT_KEY_F10: {
-            fgToggleFDMdataLogging();
-            return;
-        }
-
-// END SPECIALS
-
        }