From 4396fe815790bc4f3c001f7d794cedaa485e62c3 Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 26 Dec 2003 19:53:22 +0000 Subject: [PATCH] Convert to Nasal bindings. --- .../Joysticks/Default/four-axis-joystick.xml | 90 +++---------------- Input/Joysticks/Default/joystick.xml | 90 +++---------------- 2 files changed, 22 insertions(+), 158 deletions(-) diff --git a/Input/Joysticks/Default/four-axis-joystick.xml b/Input/Joysticks/Default/four-axis-joystick.xml index 86f76e930..0c49c54bd 100644 --- a/Input/Joysticks/Default/four-axis-joystick.xml +++ b/Input/Joysticks/Default/four-axis-joystick.xml @@ -35,52 +35,8 @@ joystick, and that the first button is the trigger. Throttle - property-scale - /controls/engines/engine[0]/throttle - -1.0 - -0.5 - - - property-scale - /controls/engines/engine[1]/throttle - -1.0 - -0.5 - - - property-scale - /controls/engines/engine[2]/throttle - -1.0 - -0.5 - - - property-scale - /controls/engines/engine[3]/throttle - -1.0 - -0.5 - - - property-scale - /controls/engines/engine[4]/throttle - -1.0 - -0.5 - - - property-scale - /controls/engines/engine[5]/throttle - -1.0 - -0.5 - - - property-scale - /controls/engines/engine[6]/throttle - -1.0 - -0.5 - - - property-scale - /controls/engines/engine[7]/throttle - -1.0 - -0.5 + nasal + @@ -95,35 +51,13 @@ joystick, and that the first button is the trigger. @@ -132,9 +66,8 @@ joystick, and that the first button is the trigger. Elevator trim up true - property-adjust - /controls/flight/elevator-trim - 0.001 + nasal + @@ -142,9 +75,8 @@ joystick, and that the first button is the trigger. Elevator trim down true - property-adjust - /controls/flight/elevator-trim - -0.001 + nasal + diff --git a/Input/Joysticks/Default/joystick.xml b/Input/Joysticks/Default/joystick.xml index a472aed7a..dfe6d2d50 100644 --- a/Input/Joysticks/Default/joystick.xml +++ b/Input/Joysticks/Default/joystick.xml @@ -34,87 +34,21 @@ $Id$ Throttle - property-scale - /controls/engines/engine[0]/throttle - -1.0 - -0.5 - - - property-scale - /controls/engines/engine[1]/throttle - -1.0 - -0.5 - - - property-scale - /controls/engines/engine[2]/throttle - -1.0 - -0.5 - - - property-scale - /controls/engines/engine[3]/throttle - -1.0 - -0.5 - - - property-scale - /controls/engines/engine[4]/throttle - -1.0 - -0.5 - - - property-scale - /controls/engines/engine[5]/throttle - -1.0 - -0.5 - - - property-scale - /controls/engines/engine[6]/throttle - -1.0 - -0.5 - - - property-scale - /controls/engines/engine[7]/throttle - -1.0 - -0.5 + nasal + @@ -123,9 +57,8 @@ $Id$ Elevator trim up true - property-adjust - /controls/flight/elevator-trim - 0.001 + nasal + @@ -133,9 +66,8 @@ $Id$ Elevator trim down true - property-adjust - /controls/flight/elevator-trim - -0.001 + nasal +