From 17ac428f43c1fd4e16ca2374705be8aa2c900936 Mon Sep 17 00:00:00 2001 From: ThorstenB Date: Mon, 24 Jan 2011 19:35:35 +0100 Subject: [PATCH] Adrien Bailly: Thrustmaster T.Flight Hotas X joystick support thanks to him, 'flug' and the forum (also removed a debug line from route-manger GUI) --- .../ThrustMaster/T-Flight-Hotas-X.xml | 528 ++++++++++++++++++ gui/dialogs/route-manager.xml | 1 - 2 files changed, 528 insertions(+), 1 deletion(-) create mode 100644 Input/Joysticks/ThrustMaster/T-Flight-Hotas-X.xml diff --git a/Input/Joysticks/ThrustMaster/T-Flight-Hotas-X.xml b/Input/Joysticks/ThrustMaster/T-Flight-Hotas-X.xml new file mode 100644 index 000000000..1bbb5e386 --- /dev/null +++ b/Input/Joysticks/ThrustMaster/T-Flight-Hotas-X.xml @@ -0,0 +1,528 @@ + + + + + T.Flight Hotas X + Hotas X + Thrustmaster Hotas X + Thrustmaster T.Flight Hotas X + + + + + + + Joystick: Aileron + + property-scale + /controls/flight/aileron + 1.0 + 1.0 + + + + + Joystick: Elevator + + property-scale + /controls/flight/elevator + -1.0 + 1.0 + + + + + Throttle + + nasal + + + + + + Rudder + + property-scale + /controls/flight/rudder + 1.0 + + + + + + Throttle rocker switch: View Left/Right + 0.05 + + property-scale + /sim/current-view/heading-offset-deg + -180 + 1.2 + + + + + + Hat Switch: View Direction (use mod buttons for different effects) + + true + + property-adjust + /sim/current-view/goal-heading-offset-deg + 5.0 + + + + true + + property-adjust + /sim/current-view/goal-heading-offset-deg + -5.0 + + + + + + Hat Switch: View Elevation (use mod buttons for different effects) + + true + + property-adjust + /sim/current-view/goal-pitch-offset-deg + 5.0 + + + + true + + property-adjust + /sim/current-view/goal-pitch-offset-deg + -5.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gui/dialogs/route-manager.xml b/gui/dialogs/route-manager.xml index ed72e6310..90904b350 100644 --- a/gui/dialogs/route-manager.xml +++ b/gui/dialogs/route-manager.xml @@ -138,7 +138,6 @@ command interface /autopilot/route-manager/input: dest.getNode("runway").clearValue(); } - print("updated runways"); gui.dialog_update("route-manager"); }