From d47f83ebc93a97d0fffece09271b08a9aab1d450 Mon Sep 17 00:00:00 2001 From: ehofman Date: Mon, 22 Dec 2003 14:57:53 +0000 Subject: [PATCH] Update the four axis joystick to the new controlls layout and fix a mistake in the X8-30 configuration file --- .../Joysticks/Default/four-axis-joystick.xml | 68 ++++++++++++++----- Input/Joysticks/Saitek/X8-30.xml | 4 +- 2 files changed, 54 insertions(+), 18 deletions(-) diff --git a/Input/Joysticks/Default/four-axis-joystick.xml b/Input/Joysticks/Default/four-axis-joystick.xml index 41ea862e4..86f76e930 100644 --- a/Input/Joysticks/Default/four-axis-joystick.xml +++ b/Input/Joysticks/Default/four-axis-joystick.xml @@ -17,8 +17,8 @@ joystick, and that the first button is the trigger. Aileron property-scale - /controls/aileron - true + /controls/flight/aileron + 2 @@ -26,9 +26,9 @@ joystick, and that the first button is the trigger. Elevator property-scale - /controls/elevator + /controls/flight/elevator -1.0 - true + 2 @@ -36,13 +36,49 @@ joystick, and that the first button is the trigger. Throttle property-scale - /controls/throttle[0] + /controls/engines/engine[0]/throttle -1.0 -0.5 property-scale - /controls/throttle[1] + /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 @@ -51,8 +87,8 @@ joystick, and that the first button is the trigger. property-scale - /controls/rudder - true + /controls/flight/rudder + 2 @@ -60,33 +96,33 @@ joystick, and that the first button is the trigger. Brakes property-assign - /controls/brakes[0] + /controls/gear/wheel[0]/brake 1.0 property-assign - /controls/brakes[1] + /controls/gear/wheel[1]/brake 1.0 property-assign - /controls/brakes[2] + /controls/gear/wheel[2]/brake 1.0 property-assign - /controls/brakes[0] + /controls/gear/wheel[0]/brake 0.0 property-assign - /controls/brakes[1] + /controls/gear/wheel[1]/brake 0.0 property-assign - /controls/brakes[2] + /controls/gear/wheel[2]/brake 0.0 @@ -97,7 +133,7 @@ joystick, and that the first button is the trigger. true property-adjust - /controls/elevator-trim + /controls/flight/elevator-trim 0.001 @@ -107,7 +143,7 @@ joystick, and that the first button is the trigger. true property-adjust - /controls/elevator-trim + /controls/flight/elevator-trim -0.001 diff --git a/Input/Joysticks/Saitek/X8-30.xml b/Input/Joysticks/Saitek/X8-30.xml index 045b96d94..fa407a253 100644 --- a/Input/Joysticks/Saitek/X8-30.xml +++ b/Input/Joysticks/Saitek/X8-30.xml @@ -33,7 +33,7 @@ $Id$ property-scale /controls/flight/aileron - 3 + 3 @@ -43,7 +43,7 @@ $Id$ property-scale /controls/flight/elevator -1.0 - 3 + 3