From 83fa3930f883ec8b863571f663fc45e2b156c412 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 29 Oct 2002 22:06:53 +0000 Subject: [PATCH] Bound '+' to zoom in (like 'x'). Bound '-' to zoom out (like 'X'). Bound '=' to return to default zoom. --- keyboard.xml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/keyboard.xml b/keyboard.xml index 4e35f0461..b52bec6a8 100644 --- a/keyboard.xml +++ b/keyboard.xml @@ -251,6 +251,16 @@ calculated by adding 256 to the GLUT key value in glut.h. + + + + zoom in (decrease field of view) + + property-multiply + /sim/current-view/field-of-view + 0.9523809523809523 + + + , Left brake @@ -268,6 +278,16 @@ calculated by adding 256 to the GLUT key value in glut.h. + + - + zoom out (decrease field of view) + + property-multiply + /sim/current-view/field-of-view + 1.05 + + + . Right brake @@ -459,6 +479,16 @@ calculated by adding 256 to the GLUT key value in glut.h. + + = + Reset zoom to default + + property-assign + /sim/current-view/field-of-view + 55.0 + + + @ Select second engine