Comment out the default Vista name
This commit is contained in:
parent
3cd4c6761a
commit
bbaeb45aea
1 changed files with 348 additions and 348 deletions
|
@ -1,348 +1,348 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<!--
|
<!--
|
||||||
Joystick Definition for Speed-Link SL-6640 "Black Widow"
|
Joystick Definition for Speed-Link SL-6640 "Black Widow"
|
||||||
http://www.speed-link.com/?p=2&cat=313&pid=1533&paus=1
|
http://www.speed-link.com/?p=2&cat=313&pid=1533&paus=1
|
||||||
4-Axis, 8 Buttons, 8-way Coolie-Hat, Force-Feedback-Vibration (not in FG yet)
|
4-Axis, 8 Buttons, 8-way Coolie-Hat, Force-Feedback-Vibration (not in FG yet)
|
||||||
|
|
||||||
My definitions:
|
My definitions:
|
||||||
type W# U# M# assign
|
type W# U# M# assign
|
||||||
##################################
|
##################################
|
||||||
Axis 0 0 ? ailerons
|
Axis 0 0 ? ailerons
|
||||||
Axis 1 1 ? elevator
|
Axis 1 1 ? elevator
|
||||||
Axis 2 2 ? throttle
|
Axis 2 2 ? throttle
|
||||||
Axis 3 3 ? rudder
|
Axis 3 3 ? rudder
|
||||||
Axis 6 4 ? horizantal view direction
|
Axis 6 4 ? horizantal view direction
|
||||||
Axis 7 5 ? vertical view direction
|
Axis 7 5 ? vertical view direction
|
||||||
Btn 0 0 ? Reset View
|
Btn 0 0 ? Reset View
|
||||||
Btn 1 1 ? Gear Up/Down
|
Btn 1 1 ? Gear Up/Down
|
||||||
Btn 2 2 ? Flaps Up
|
Btn 2 2 ? Flaps Up
|
||||||
Btn 3 3 ? Flaps Down
|
Btn 3 3 ? Flaps Down
|
||||||
Btn 4 4 ? Thrust Reverser
|
Btn 4 4 ? Thrust Reverser
|
||||||
Btn 5 5 ? Speed Brakes
|
Btn 5 5 ? Speed Brakes
|
||||||
Btn 6 6 ? Elevator Trim Backward
|
Btn 6 6 ? Elevator Trim Backward
|
||||||
Btn 7 7 ? Elevator Trim Forward
|
Btn 7 7 ? Elevator Trim Forward
|
||||||
|
|
||||||
Notes, Todo and Addendum:
|
Notes, Todo and Addendum:
|
||||||
- Pressing a button will bring up the gui.popupTip for the representing function
|
- Pressing a button will bring up the gui.popupTip for the representing function
|
||||||
- Addionally Buttons 2 and 3 (Flaps Up/Down) and Buttons 6 and 7 (Elevator Trim Up/Down) returns a value on screen telling the actual chosen settings
|
- Addionally Buttons 2 and 3 (Flaps Up/Down) and Buttons 6 and 7 (Elevator Trim Up/Down) returns a value on screen telling the actual chosen settings
|
||||||
- Button- and Axis-assignment respect the use of civil planes. e.g. Button 0 (aka "Fire Trigger" is resetting actual view instead of fiering off a weapon) and Button 1 is reprensenting Gear Up/Down instead of alternate weapon
|
- Button- and Axis-assignment respect the use of civil planes. e.g. Button 0 (aka "Fire Trigger" is resetting actual view instead of fiering off a weapon) and Button 1 is reprensenting Gear Up/Down instead of alternate weapon
|
||||||
- Numbering of axes and buttons for Apple mac not verified
|
- Numbering of axes and buttons for Apple mac not verified
|
||||||
- Numbering of Buttons 6 and 7 respect how Windows Vista x64 (german) sees the Stick. In Ubuntu (9.04) Buttons 6 and 7 must be renumbered to 4 and 5.
|
- Numbering of Buttons 6 and 7 respect how Windows Vista x64 (german) sees the Stick. In Ubuntu (9.04) Buttons 6 and 7 must be renumbered to 4 and 5.
|
||||||
- Created and (mainly) tested in MS Windows Vista Home premium x64 (german)
|
- Created and (mainly) tested in MS Windows Vista Home premium x64 (german)
|
||||||
- Name-entries respect the lack of Vista (german) to present the correct joystick-name as desired for FGFS
|
- Name-entries respect the lack of Vista (german) to present the correct joystick-name as desired for FGFS
|
||||||
- Representing also the jostick-name as provided in Windows-internal registry entry
|
- Representing also the jostick-name as provided in Windows-internal registry entry
|
||||||
- Actually only wheel[0] (most times the nose wheel) is checked for pressure / ground contact (=./gear/gear[0]/wow). In this case retraction of gear is not allowed
|
- Actually only wheel[0] (most times the nose wheel) is checked for pressure / ground contact (=./gear/gear[0]/wow). In this case retraction of gear is not allowed
|
||||||
So technically on aircraft with multiple axis (e.g. nose wheel plus wing wheels) can retract the gear as soon as the nose wheel is up but wing wheels are still on ground ;)
|
So technically on aircraft with multiple axis (e.g. nose wheel plus wing wheels) can retract the gear as soon as the nose wheel is up but wing wheels are still on ground ;)
|
||||||
- Feel free to remove the lines starting with "gui.popupTip..." if you are annoyed by the messages within FG ;)
|
- Feel free to remove the lines starting with "gui.popupTip..." if you are annoyed by the messages within FG ;)
|
||||||
|
|
||||||
Brought to you by Mike Nieber (Callsign: D-SKY1) (c) 2009
|
Brought to you by Mike Nieber (Callsign: D-SKY1) (c) 2009
|
||||||
This file is released under the GPL license v2 or later.
|
This file is released under the GPL license v2 or later.
|
||||||
$Id$
|
$Id$
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<PropertyList>
|
<PropertyList>
|
||||||
<name type="string">Microsoft-PC-Joysticktreiber</name>
|
<!--<name type="string">Microsoft-PC-Joysticktreiber</name>-->
|
||||||
<name type="string">Mega World USB Game Controllers</name>
|
<name type="string">Mega World USB Game Controllers</name>
|
||||||
<name type="string">SpeedLink SL-6640 Black Widow Flight Stick</name>
|
<name type="string">SpeedLink SL-6640 Black Widow Flight Stick</name>
|
||||||
<axis>
|
<axis>
|
||||||
<desc type="string">Aileron</desc>
|
<desc type="string">Aileron</desc>
|
||||||
<number>
|
<number>
|
||||||
<windows>0</windows>
|
<windows>0</windows>
|
||||||
<mac>0</mac>
|
<mac>0</mac>
|
||||||
<unix>0</unix>
|
<unix>0</unix>
|
||||||
</number>
|
</number>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-scale</command>
|
<command>property-scale</command>
|
||||||
<property>/controls/flight/aileron</property>
|
<property>/controls/flight/aileron</property>
|
||||||
<offset type="double">0.0</offset>
|
<offset type="double">0.0</offset>
|
||||||
<factor type="double">1.0</factor>
|
<factor type="double">1.0</factor>
|
||||||
<dead-band type="double">0.02</dead-band>
|
<dead-band type="double">0.02</dead-band>
|
||||||
</binding>
|
</binding>
|
||||||
</axis>
|
</axis>
|
||||||
<axis>
|
<axis>
|
||||||
<desc type="string">Elevator</desc>
|
<desc type="string">Elevator</desc>
|
||||||
<number>
|
<number>
|
||||||
<windows>1</windows>
|
<windows>1</windows>
|
||||||
<mac>1</mac>
|
<mac>1</mac>
|
||||||
<unix>1</unix>
|
<unix>1</unix>
|
||||||
</number>
|
</number>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-scale</command>
|
<command>property-scale</command>
|
||||||
<property>/controls/flight/elevator</property>
|
<property>/controls/flight/elevator</property>
|
||||||
<offset type="double">0.0</offset>
|
<offset type="double">0.0</offset>
|
||||||
<factor type="double">-1.0</factor>
|
<factor type="double">-1.0</factor>
|
||||||
<dead-band type="double">0.02</dead-band>
|
<dead-band type="double">0.02</dead-band>
|
||||||
</binding>
|
</binding>
|
||||||
</axis>
|
</axis>
|
||||||
<axis>
|
<axis>
|
||||||
<desc type="string">Throttle</desc>
|
<desc type="string">Throttle</desc>
|
||||||
<number>
|
<number>
|
||||||
<windows>2</windows>
|
<windows>2</windows>
|
||||||
<mac>2</mac>
|
<mac>2</mac>
|
||||||
<unix>2</unix>
|
<unix>2</unix>
|
||||||
</number>
|
</number>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>controls.throttleAxis()</script>
|
<script>controls.throttleAxis()</script>
|
||||||
</binding>
|
</binding>
|
||||||
</axis>
|
</axis>
|
||||||
<axis>
|
<axis>
|
||||||
<desc type="string">Rudder</desc>
|
<desc type="string">Rudder</desc>
|
||||||
<number>
|
<number>
|
||||||
<windows>3</windows>
|
<windows>3</windows>
|
||||||
<mac>3</mac>
|
<mac>3</mac>
|
||||||
<unix>3</unix>
|
<unix>3</unix>
|
||||||
</number>
|
</number>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-scale</command>
|
<command>property-scale</command>
|
||||||
<property>/controls/flight/rudder</property>
|
<property>/controls/flight/rudder</property>
|
||||||
<offset type="double">0.0</offset>
|
<offset type="double">0.0</offset>
|
||||||
<factor type="double">1.0</factor>
|
<factor type="double">1.0</factor>
|
||||||
<dead-band type="double">0.02</dead-band>
|
<dead-band type="double">0.02</dead-band>
|
||||||
</binding>
|
</binding>
|
||||||
</axis>
|
</axis>
|
||||||
<axis>
|
<axis>
|
||||||
<desc type="string">View Direction</desc>
|
<desc type="string">View Direction</desc>
|
||||||
<number>
|
<number>
|
||||||
<windows>6</windows>
|
<windows>6</windows>
|
||||||
<mac>6</mac>
|
<mac>6</mac>
|
||||||
<unix>6</unix>
|
<unix>6</unix>
|
||||||
</number>
|
</number>
|
||||||
<low>
|
<low>
|
||||||
<repeatable type="bool">true</repeatable>
|
<repeatable type="bool">true</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
view.panViewDir(1);
|
view.panViewDir(1);
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</low>
|
</low>
|
||||||
<high>
|
<high>
|
||||||
<repeatable type="bool">true</repeatable>
|
<repeatable type="bool">true</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
view.panViewDir(-1);
|
view.panViewDir(-1);
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</high>
|
</high>
|
||||||
</axis>
|
</axis>
|
||||||
<axis>
|
<axis>
|
||||||
<desc type="string">View Elevation</desc>
|
<desc type="string">View Elevation</desc>
|
||||||
<number>
|
<number>
|
||||||
<windows>7</windows>
|
<windows>7</windows>
|
||||||
<mac>7</mac>
|
<mac>7</mac>
|
||||||
<unix>7</unix>
|
<unix>7</unix>
|
||||||
</number>
|
</number>
|
||||||
<low>
|
<low>
|
||||||
<repeatable type="bool">true</repeatable>
|
<repeatable type="bool">true</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
view.panViewPitch(-1);
|
view.panViewPitch(-1);
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</low>
|
</low>
|
||||||
<high>
|
<high>
|
||||||
<repeatable type="bool">true</repeatable>
|
<repeatable type="bool">true</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
view.panViewPitch(1);
|
view.panViewPitch(1);
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</high>
|
</high>
|
||||||
</axis>
|
</axis>
|
||||||
<button n="0">
|
<button n="0">
|
||||||
<desc type="string">Reset View</desc>
|
<desc type="string">Reset View</desc>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
view.resetView();
|
view.resetView();
|
||||||
gui.popupTip("View Reset!");
|
gui.popupTip("View Reset!");
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</button>
|
</button>
|
||||||
<button n="1">
|
<button n="1">
|
||||||
<desc type="string">Gear</desc>
|
<desc type="string">Gear</desc>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
var wowprop = getprop("/gear/gear[0]/wow");
|
var wowprop = getprop("/gear/gear[0]/wow");
|
||||||
var gearprop = getprop("/controls/gear/gear-down");
|
var gearprop = getprop("/controls/gear/gear-down");
|
||||||
if (wowprop) {
|
if (wowprop) {
|
||||||
if (gearprop) {
|
if (gearprop) {
|
||||||
gui.popupTip("No service on ground!");
|
gui.popupTip("No service on ground!");
|
||||||
} else {
|
} else {
|
||||||
gui.popupTip("Call ground service for plane repair ;) !");
|
gui.popupTip("Call ground service for plane repair ;) !");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (gearprop) {
|
if (gearprop) {
|
||||||
controls.gearDown(-1);
|
controls.gearDown(-1);
|
||||||
gui.popupTip("Gear UP!");
|
gui.popupTip("Gear UP!");
|
||||||
} else {
|
} else {
|
||||||
controls.gearDown(1);
|
controls.gearDown(1);
|
||||||
gui.popupTip("Gear DOWN!");
|
gui.popupTip("Gear DOWN!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
<mod-up>
|
<mod-up>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
controls.gearDown(0);
|
controls.gearDown(0);
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</mod-up>
|
</mod-up>
|
||||||
</button>
|
</button>
|
||||||
<button n="2">
|
<button n="2">
|
||||||
<desc type="string">Flaps Up</desc>
|
<desc type="string">Flaps Up</desc>
|
||||||
<repeatable type="bool">false</repeatable>
|
<repeatable type="bool">false</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
controls.flapsDown(-1);
|
controls.flapsDown(-1);
|
||||||
var flapsprop = getprop("/controls/flight/flaps");
|
var flapsprop = getprop("/controls/flight/flaps");
|
||||||
if ( flapsprop == 1 ) {
|
if ( flapsprop == 1 ) {
|
||||||
gui.popupTip("Flaps full extracted!");
|
gui.popupTip("Flaps full extracted!");
|
||||||
} elsif ( flapsprop == 0 ) {
|
} elsif ( flapsprop == 0 ) {
|
||||||
gui.popupTip("Flaps full up!");
|
gui.popupTip("Flaps full up!");
|
||||||
} else {
|
} else {
|
||||||
gui.popupTip(sprintf("Flaps at %i degrees", 100 * flapsprop));
|
gui.popupTip(sprintf("Flaps at %i degrees", 100 * flapsprop));
|
||||||
}
|
}
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
<mod-up>
|
<mod-up>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
controls.flapsDown(0);
|
controls.flapsDown(0);
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</mod-up>
|
</mod-up>
|
||||||
</button>
|
</button>
|
||||||
<button n="3">
|
<button n="3">
|
||||||
<desc type="string">Flaps Down</desc>
|
<desc type="string">Flaps Down</desc>
|
||||||
<repeatable type="bool">false</repeatable>
|
<repeatable type="bool">false</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
controls.flapsDown(1);
|
controls.flapsDown(1);
|
||||||
var flapsprop = getprop("/controls/flight/flaps");
|
var flapsprop = getprop("/controls/flight/flaps");
|
||||||
if ( flapsprop == 1 ) {
|
if ( flapsprop == 1 ) {
|
||||||
gui.popupTip("Flaps full extracted!");
|
gui.popupTip("Flaps full extracted!");
|
||||||
} elsif ( flapsprop == 0 ) {
|
} elsif ( flapsprop == 0 ) {
|
||||||
gui.popupTip("Flaps full up!");
|
gui.popupTip("Flaps full up!");
|
||||||
} else {
|
} else {
|
||||||
gui.popupTip(sprintf("Flaps at %i degrees", 100 * flapsprop));
|
gui.popupTip(sprintf("Flaps at %i degrees", 100 * flapsprop));
|
||||||
}
|
}
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
<mod-up>
|
<mod-up>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
controls.flapsDown(0);
|
controls.flapsDown(0);
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</mod-up>
|
</mod-up>
|
||||||
</button>
|
</button>
|
||||||
<button n="4">
|
<button n="4">
|
||||||
<desc type="string">Thrust reverse</desc>
|
<desc type="string">Thrust reverse</desc>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
var i = !getprop("/controls/engines/engine[0]/reverser");
|
var i = !getprop("/controls/engines/engine[0]/reverser");
|
||||||
props.setAll("/controls/engines/engine", "reverser", i);
|
props.setAll("/controls/engines/engine", "reverser", i);
|
||||||
gui.popupTip("Thrust Reverser " ~ (i ? "ON!" : "OFF!"));
|
gui.popupTip("Thrust Reverser " ~ (i ? "ON!" : "OFF!"));
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</button>
|
</button>
|
||||||
<button n="5">
|
<button n="5">
|
||||||
<desc type="string">Speed Brake</desc>
|
<desc type="string">Speed Brake</desc>
|
||||||
<repeatable type="bool">false</repeatable>
|
<repeatable type="bool">false</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
var i = !getprop("/controls/flight/speedbrake");
|
var i = !getprop("/controls/flight/speedbrake");
|
||||||
setprop("/controls/flight/speedbrake", i);
|
setprop("/controls/flight/speedbrake", i);
|
||||||
gui.popupTip("Speed Brake " ~ (i ? "ON!" : "OFF!"));
|
gui.popupTip("Speed Brake " ~ (i ? "ON!" : "OFF!"));
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</button>
|
</button>
|
||||||
<button n="6">
|
<button n="6">
|
||||||
<desc type="string">Elevator Trim Down</desc>
|
<desc type="string">Elevator Trim Down</desc>
|
||||||
<repeatable type="bool">true</repeatable>
|
<repeatable type="bool">true</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
var vertrim = getprop("/controls/flight/elevator-trim");
|
var vertrim = getprop("/controls/flight/elevator-trim");
|
||||||
controls.elevatorTrim(-0.1);
|
controls.elevatorTrim(-0.1);
|
||||||
gui.popupTip(sprintf("Elevator Trim Down: %i", 1000 * vertrim));
|
gui.popupTip(sprintf("Elevator Trim Down: %i", 1000 * vertrim));
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
<mod-up>
|
<mod-up>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
controls.elevatorTrim(0);
|
controls.elevatorTrim(0);
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</mod-up>
|
</mod-up>
|
||||||
</button>
|
</button>
|
||||||
<button n="7">
|
<button n="7">
|
||||||
<desc type="string">Elevator Trim Up</desc>
|
<desc type="string">Elevator Trim Up</desc>
|
||||||
<repeatable type="bool">true</repeatable>
|
<repeatable type="bool">true</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
var vertrim = getprop("/controls/flight/elevator-trim");
|
var vertrim = getprop("/controls/flight/elevator-trim");
|
||||||
controls.elevatorTrim(0.1);
|
controls.elevatorTrim(0.1);
|
||||||
gui.popupTip(sprintf("Elevator Trim Up: %i", 1000 * vertrim));
|
gui.popupTip(sprintf("Elevator Trim Up: %i", 1000 * vertrim));
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
<mod-up>
|
<mod-up>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
controls.elevatorTrim(0);
|
controls.elevatorTrim(0);
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</mod-up>
|
</mod-up>
|
||||||
</button>
|
</button>
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
Loading…
Add table
Reference in a new issue