From: Flightgear-commitlogs <ma...@hy...> - 2011-03-25 17:19:12
|
The branch, master has been updated - Log ----------------------------------------------------------------- commit 73c18656c8ba7f17c2980ba6fae238f100019803 Author: Curtis L. Olson Date: Fri Mar 25 11:47:55 2011 -0500 Initial revision by Roberto Inzerillo. For older logitech wingman attack joystick (gameport version.) - Summary ------------------------------------------------------------- Input/Joysticks/Logitech/wingman-attack.xml | 113 +++++++++++++++++++++++++++ 1 files changed, 113 insertions(+), 0 deletions(-) create mode 100644 Input/Joysticks/Logitech/wingman-attack.xml - Diff ---------------------------------------------------------------- diff --git a/Input/Joysticks/Logitech/wingman-attack.xml b/Input/Joysticks/Logitech/wingman-attack.xml new file mode 100644 index 0000000..78ac330 --- /dev/null +++ b/Input/Joysticks/Logitech/wingman-attack.xml @@ -0,0 +1,113 @@ +<?xml version="1.0"?> + +<!-- + ************************************************************************ + Logitech Wingman Attack joystick bindings. + + 3 Axis joystick with 4 buttons. + Connects through a gameport. + + Roberto Inzerillo 2011 + rob...@gm... + + Bindings: + + Axis 0: ailerons + Axis 1: elevator + Axis 2 (slider): throttle + + Button 0 (01 trigger): all brakes + Button 1 (02): elevator trim up + Button 2 (03): elevator trim down + Button 3 (04): all brakes + + ************************************************************************ + --> + +<PropertyList> + + <name>Logitech Wingman Attack</name> + + <axis n="0"> + <desc>Aileron</desc> + <binding> + <command>property-scale</command> + <property>/controls/flight/aileron</property> + <squared type="bool">true</squared> + </binding> + </axis> + + <axis n="1"> + <desc>Elevator</desc> + <binding> + <command>property-scale</command> + <property>/controls/flight/elevator</property> + <factor type="double">-1.0</factor> + <squared type="bool">true</squared> + </binding> + <dead-band type="double">0.1</dead-band> + </axis> + + <axis n="2"> + <desc>Throttle</desc> + <direction>forward</direction> + <binding> + <command>nasal</command> + <script>controls.throttleAxis()</script> + </binding> + </axis> + + + <button n="0"> + <desc>Brakes</desc> + <binding> + <command>nasal</command> + <script>controls.applyBrakes(1)</script> + </binding> + <mod-up> + <binding> + <command>nasal</command> + <script>controls.applyBrakes(0)</script> + </binding> + </mod-up> + </button> + + + <button n="1"> + <desc>Elevator trim up</desc> + <repeatable>true</repeatable> + <binding> + <command>nasal</command> + <script>controls.elevatorTrim(1)</script> + </binding> + </button> + + <button n="2"> + <desc>Elevator trim down</desc> + <repeatable>true</repeatable> + <binding> + <command>nasal</command> + <script>controls.elevatorTrim(-1)</script> + </binding> + </button> + + <button n="3"> + <desc>Brakes</desc> + <binding> + <command>nasal</command> + <script>controls.applyBrakes(1)</script> + </binding> + <mod-up> + <binding> + <command>nasal</command> + <script>controls.applyBrakes(0)</script> + </binding> + </mod-up> + </button> + + + +</PropertyList> + +<!-- end of wingman-attack.xml --> + ----------------------------------------------------------------------- FlightGear Base Package |