diff --git a/Aircraft/c172-3d-set.xml b/Aircraft/c172-3d-set.xml
index 060b32f58..6c28e3e2d 100644
--- a/Aircraft/c172-3d-set.xml
+++ b/Aircraft/c172-3d-set.xml
@@ -28,6 +28,11 @@ October 23 2001 John Check, fgpanels@rockfish.net
Aircraft/c172/Panels/c172-trans-panel.xml
true
+
+ 2D Panel
+ Aircraft/c172/Panels/c172-vfr-panel.xml
+ true
+
Aircraft/c172/Models/c172-dpm.xml
@@ -82,3 +87,4 @@ October 23 2001 John Check, fgpanels@rockfish.net
+
diff --git a/keyboard.xml b/keyboard.xml
index bb5ac33b8..13bcea00d 100644
--- a/keyboard.xml
+++ b/keyboard.xml
@@ -631,6 +631,38 @@ calculated by adding 256 to the GLUT key value in glut.h.
+
+ c
+ Toggle 3D/2D cockpit
+
+ property-swap
+ /sim/panel[0]/path
+ /sim/panel[1]/path
+
+
+ property-assign
+ /sim/current-view/heading-offset-deg
+ 0
+
+
+ property-assign
+ /sim/current-view/pitch-offset-deg
+ 0
+
+
+ Load panel.
+ panel-load
+
+
+ property-toggle
+ /sim/view/internal
+
+
+ property-toggle
+ /sim/virtual-cockpit
+
+
+
m
Increase warp.
@@ -1116,3 +1148,5 @@ calculated by adding 256 to the GLUT key value in glut.h.
+
+