-// GLUTkey.cxx -- handle GLUT keyboard events
+// keyboard.cxx -- handle GLUT keyboard events
//
// Written by Curtis Olson, started May 1997.
//
-// Copyright (C) 1997 Curtis L. Olson - curt@me.umn.edu
+// Copyright (C) 1997 - 1999 Curtis L. Olson - curt@flightgear.org
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
#include <stdio.h>
#include <stdlib.h>
+#include <pu.h> // plib include
+
#include <Debug/logstream.hxx>
#include <Aircraft/aircraft.hxx>
#include <Astro/solarsystem.hxx>
#include <Include/fg_constants.h>
#include <Scenery/tilemgr.hxx>
#include <Objects/materialmgr.hxx>
-#include <plib/pu.h>
#include <Time/fg_time.hxx>
#include <Time/light.hxx>
#include <Weather/weather.hxx>
-#include "GLUTkey.hxx"
+#include "keyboard.hxx"
#include "options.hxx"
#include "views.hxx"
t->adjust_warp_delta (+30);
local_update_sky_and_lighting_params();
return;
- case 120: // X key
+ case 118: // v key
+ v->cycle_view_mode();
+ return;
+ case 120: // x key
fov = current_options.get_fov();
fov /= 1.05;
if ( fov < FG_FOV_MIN ) {