From 996ed1a7170cfef58db07afc7a6e8ef8a4a42fe5 Mon Sep 17 00:00:00 2001 From: ehofman Date: Wed, 28 Apr 2004 08:23:38 +0000 Subject: [PATCH] Adjust the joystick configuration to match the new code changes. --- .../sidewinder-precision-pro-win.xml | 259 ------------------ .../Microsoft/sidewinder-precision-pro.xml | 116 ++++---- joysticks.xml | 1 - 3 files changed, 49 insertions(+), 327 deletions(-) delete mode 100644 Input/Joysticks/Microsoft/sidewinder-precision-pro-win.xml diff --git a/Input/Joysticks/Microsoft/sidewinder-precision-pro-win.xml b/Input/Joysticks/Microsoft/sidewinder-precision-pro-win.xml deleted file mode 100644 index 8daf6d28f..000000000 --- a/Input/Joysticks/Microsoft/sidewinder-precision-pro-win.xml +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - - Windows - - Microsoft SideWinder Precision Pro - Microsoft SideWinder Precision 2 Joystick - Microsoft Microsoft SideWinder Precision Pro (USB) - - - Aileron - - property-scale - /controls/flight/aileron - true - - - - - Elevator - - property-scale - /controls/flight/elevator - -1.0 - true - - - - - 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 - - - - - Rudder - - property-scale - /controls/flight/rudder - 1.0 - - - - - View Direction - - true - - property-adjust - /sim/current-view/goal-heading-offset-deg - 1.0 - - - - true - - property-adjust - /sim/current-view/goal-heading-offset-deg - -1.0 - - - - - - View Elevation - - true - - property-adjust - /sim/current-view/goal-pitch-offset-deg - 1.0 - - - - true - - property-adjust - /sim/current-view/goal-pitch-offset-deg - -1.0 - - - - - - - - - - - - - - - - - - - diff --git a/Input/Joysticks/Microsoft/sidewinder-precision-pro.xml b/Input/Joysticks/Microsoft/sidewinder-precision-pro.xml index 526afefc1..4d6ed804c 100644 --- a/Input/Joysticks/Microsoft/sidewinder-precision-pro.xml +++ b/Input/Joysticks/Microsoft/sidewinder-precision-pro.xml @@ -5,27 +5,25 @@ * Bindings for Microsoft SideWinder Force Feed joystick. * * -* Axis 0: ailerons -* Axis 1: elevator -* Axis 2 (twist): rudder -* Axis 3: throttle -* Axes 6 and 7 (hat): view direction +* Axis 0: ailerons +* Axis 1: elevator +* Axis 2 (twist): rudder +* Axis 3: throttle +* Axes 6 and 7 (hat): view direction * -* Button 1: all brakes -* Button 2: elevator trim up -* Button 3: elevator trim down -* Button 4: right brake only -* Button 5: flap down -* Button 6: left brake only -* Button 7: flap up +* Button 1: all brakes +* Button 2: elevator trim up +* Button 3: elevator trim down +* Button 4: right brake only +* Button 5: flap down +* Button 6: left brake only +* Button 7: flap up ************************************************************************ $Id$ --> - UNIX - Microsoft SideWinder Precision Pro Microsoft SideWinder Precision 2 Joystick Microsoft Microsoft SideWinder Precision Pro (USB) @@ -49,8 +47,12 @@ $Id$ - + Rudder + + 2 + 3 + property-scale /controls/flight/rudder @@ -58,60 +60,24 @@ $Id$ - + Throttle + + 3 + 2 + - 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 + - + View Direction + + 4 + 6 + true @@ -130,8 +96,12 @@ $Id$ - + View Elevation + + 5 + 7 + true @@ -196,8 +166,12 @@ $Id$ - - -