2001-05-23 22:00:34 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
|
|
Key binding definitions.
|
|
|
|
|
2007-07-13 13:46:09 +00:00
|
|
|
The *-key in fg/osg/osgviewer is handled in the C++ code.
|
2001-05-23 22:00:34 +00:00
|
|
|
|
|
|
|
Regular keycodes go up to 255; special keys start at 256, and can be
|
|
|
|
calculated by adding 256 to the GLUT key value in glut.h.
|
2007-07-19 10:49:34 +00:00
|
|
|
|
|
|
|
All Nasal code in this file lives in a common Nasal namespace __kbd.
|
|
|
|
All <nasal> blocks on the top level are executed in the order from
|
|
|
|
top down before the key bindings are parsed.
|
2001-05-23 22:00:34 +00:00
|
|
|
-->
|
|
|
|
|
|
|
|
<PropertyList>
|
2007-07-13 13:46:09 +00:00
|
|
|
<nasal>
|
|
|
|
<script>
|
2007-07-13 16:52:39 +00:00
|
|
|
var shift = props.globals.getNode("/devices/status/keyboard/shift");
|
|
|
|
var ctrl = props.globals.getNode("/devices/status/keyboard/ctrl");
|
|
|
|
var alt = props.globals.getNode("/devices/status/keyboard/alt");
|
2007-07-13 13:46:09 +00:00
|
|
|
|
|
|
|
var get_modifiers = func {
|
2007-07-13 16:52:39 +00:00
|
|
|
shift.getValue() + 2 * ctrl.getValue() + 4 * alt.getValue();
|
2007-07-13 13:46:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
var space_release = func {}
|
|
|
|
var space = func(state, mod) {
|
|
|
|
if (!state) {
|
|
|
|
space_release();
|
2007-07-19 10:49:34 +00:00
|
|
|
return space_release = func {};
|
2007-07-13 13:46:09 +00:00
|
|
|
}
|
|
|
|
if (mod == 0 or mod == 1) {
|
|
|
|
controls.ptt(mod + 1);
|
|
|
|
space_release = func { controls.ptt(0) }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</nasal>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="1">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>Ctrl-A</name>
|
|
|
|
<desc>Toggle autopilot altitude lock.</desc>
|
|
|
|
<binding>
|
2004-01-31 19:55:13 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
2007-08-01 08:20:21 +00:00
|
|
|
var node = props.globals.getNode("/autopilot/locks/altitude", 1);
|
2004-01-31 19:55:13 +00:00
|
|
|
if ( node.getValue() == "altitude-hold" ) {
|
|
|
|
node.setValue( "" );
|
|
|
|
} else {
|
|
|
|
node.setValue( "altitude-hold" );
|
|
|
|
}
|
|
|
|
</script>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
Melchior FRANZ:
This is my local keyboard.xml file.
There are some definitions in there that I would like to see
in the official keyboard.xml file. I suggested some of them
already almost exactly one year ago, but the suggestion was
dismissed with the argument, that the keyboard settings
should/would be redone very soon, anyway ... :->
* shift escape ... reset FDM
(Note: this doesn't work on IRIX)
* ctrl w ... turn on wing leveler
* g ... gear up
* shift g ... gear down
* control b ... toggle speedbrake (emh)
1. The p51d cries for a "Reset" key. Yeah, I admit that I've
crashed some dozens of these beauties already, and yes, I
am ashamed. Having to turn the menu on every time was too
bothersome. Shift-ESC is still free and resetting is closely
related to quitting. So this seems natural. (And don't ask
why the command is called "old-reinit-dialog".)
2. Finally add a shortcut for the wing-leveler. Natural
choice: Ctrl-W, which is still free and fits well with the
other autopilot shortcuts Ctrl-[ANH].
3. Separate gear up and down into two different shortcuts.
It really doesn't make sense as a toggle property. I'd
even say, that this is the most important prerequisite
for becoming a serious flight simulator. ... Never
land on your belly again, because you were actually
retracting the landing gear on approach, having forgotten
to retract it on lift-off.
Erik Hofman:
I've added Ctrl+B as the default binding for speedbrake support but this binding is overrruled by the p51d model to switch engine boost level.
2003-06-29 17:35:39 +00:00
|
|
|
<key n="2">
|
|
|
|
<name>Ctrl-B</name>
|
|
|
|
<desc>Toggle speedbrake.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-toggle</command>
|
|
|
|
<property>/controls/flight/speedbrake</property>
|
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2002-11-17 00:02:08 +00:00
|
|
|
<key n="3">
|
|
|
|
<name>Ctrl-C</name>
|
|
|
|
<desc>Toggle clickable panel hotspots</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-toggle</command>
|
|
|
|
<property>/sim/panel-hotspots</property>
|
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-06-13 20:37:15 +00:00
|
|
|
<key n="7">
|
|
|
|
<name>Ctrl-G</name>
|
|
|
|
<desc>Toggle autopilot glide slope lock.</desc>
|
|
|
|
<binding>
|
2004-01-31 19:55:13 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
2007-08-01 08:20:21 +00:00
|
|
|
var node = props.globals.getNode("/autopilot/locks/altitude", 1);
|
2004-01-31 19:55:13 +00:00
|
|
|
if ( node.getValue() == "gs1-hold" ) {
|
|
|
|
node.setValue( "" );
|
|
|
|
} else {
|
|
|
|
node.setValue( "gs1-hold" );
|
|
|
|
}
|
|
|
|
</script>
|
2001-06-13 20:37:15 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="8">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>Ctrl-H</name>
|
|
|
|
<desc>Toggle autopilot heading lock.</desc>
|
|
|
|
<binding>
|
2004-01-31 19:55:13 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
2007-08-01 08:20:21 +00:00
|
|
|
var node = props.globals.getNode("/autopilot/locks/heading", 1);
|
2004-01-31 19:55:13 +00:00
|
|
|
if ( node.getValue() == "dg-heading-hold" ) {
|
|
|
|
node.setValue( "" );
|
|
|
|
} else {
|
|
|
|
node.setValue( "dg-heading-hold" );
|
|
|
|
}
|
|
|
|
</script>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2004-03-23 21:41:57 +00:00
|
|
|
<key n="9">
|
|
|
|
<name>Ctrl-I</name>
|
|
|
|
<desc>Show instrument setting dialog.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-show</command>
|
|
|
|
<dialog-name>instruments</dialog-name>
|
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="13">
|
2001-05-29 20:14:01 +00:00
|
|
|
<name>Enter</name>
|
2004-01-31 19:55:13 +00:00
|
|
|
<desc>Move rudder right.</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-05-23 22:00:34 +00:00
|
|
|
<binding>
|
2001-06-01 17:02:31 +00:00
|
|
|
<command>property-adjust</command>
|
2004-01-31 19:55:13 +00:00
|
|
|
<property>/controls/flight/rudder</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
<step type="double">0.05</step>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="14">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>Ctrl-N</name>
|
|
|
|
<desc>Toggle autopilot nav1 lock.</desc>
|
|
|
|
<binding>
|
2004-01-31 19:55:13 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
2007-08-01 08:20:21 +00:00
|
|
|
var node = props.globals.getNode("/autopilot/locks/heading", 1);
|
2004-01-31 19:55:13 +00:00
|
|
|
if ( node.getValue() == "nav1-hold" ) {
|
|
|
|
node.setValue( "" );
|
|
|
|
} else {
|
|
|
|
node.setValue( "nav1-hold" );
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
|
|
|
<key n="16">
|
|
|
|
<name>Ctrl-P</name>
|
|
|
|
<desc>Toggle pitch hold.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
2007-08-01 08:20:21 +00:00
|
|
|
var node = props.globals.getNode("/autopilot/locks/altitude", 1);
|
2004-01-31 19:55:13 +00:00
|
|
|
if ( node.getValue() == "pitch-hold" ) {
|
|
|
|
node.setValue( "" );
|
|
|
|
} else {
|
|
|
|
node.setValue( "pitch-hold" );
|
2007-08-01 08:20:21 +00:00
|
|
|
var pitch = props.globals.getNode("/autopilot/settings/target-pitch-deg", 1);
|
2004-01-31 19:55:13 +00:00
|
|
|
pitch.setValue( getprop("/orientation/pitch-deg") );
|
|
|
|
}
|
|
|
|
</script>
|
2001-06-01 17:02:31 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2004-03-11 14:37:39 +00:00
|
|
|
<key n="18">
|
|
|
|
<name>Ctrl-R</name>
|
2004-03-23 21:41:57 +00:00
|
|
|
<desc>Show radio setting dialog.</desc>
|
2004-03-11 14:37:39 +00:00
|
|
|
<binding>
|
|
|
|
<command>dialog-show</command>
|
|
|
|
<dialog-name>radios</dialog-name>
|
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="19">
|
2001-06-01 17:02:31 +00:00
|
|
|
<name>Ctrl-S</name>
|
|
|
|
<desc>Toggle auto-throttle lock.</desc>
|
|
|
|
<binding>
|
2004-01-31 19:55:13 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
2007-08-01 08:20:21 +00:00
|
|
|
var node = props.globals.getNode("/autopilot/locks/speed", 1);
|
2004-01-31 19:55:13 +00:00
|
|
|
if ( node.getValue() == "speed-with-throttle" ) {
|
|
|
|
node.setValue( "" );
|
|
|
|
} else {
|
|
|
|
node.setValue( "speed-with-throttle" );
|
|
|
|
}
|
|
|
|
</script>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2005-06-23 14:01:58 +00:00
|
|
|
<key n="20">
|
2002-01-19 17:33:16 +00:00
|
|
|
<name>Ctrl-T</name>
|
|
|
|
<desc>Toggle autopilot terrain lock.</desc>
|
|
|
|
<binding>
|
2004-01-31 19:55:13 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
2007-08-01 08:20:21 +00:00
|
|
|
var node = props.globals.getNode("/autopilot/locks/altitude", 1);
|
2006-04-08 16:21:47 +00:00
|
|
|
if ( node.getValue() == "agl-hold" ) {
|
2004-01-31 19:55:13 +00:00
|
|
|
node.setValue( "" );
|
|
|
|
} else {
|
2006-04-08 16:21:47 +00:00
|
|
|
node.setValue( "agl-hold" );
|
2007-08-01 08:20:21 +00:00
|
|
|
var agl = props.globals.getNode("/autopilot/settings/target-agl-ft", 1);
|
2004-01-31 19:55:13 +00:00
|
|
|
agl.setValue( getprop("/position/altitude-agl-ft") );
|
|
|
|
}
|
|
|
|
</script>
|
2002-01-19 17:33:16 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="21">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>Ctrl-U</name>
|
|
|
|
<desc>[Cheat] Add 1000ft of emergency altitude.</desc>
|
|
|
|
<binding>
|
2001-06-01 17:02:31 +00:00
|
|
|
<command>property-adjust</command>
|
2001-07-03 23:38:15 +00:00
|
|
|
<property>/position/altitude-ft</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
<step type="double">1000.0</step>
|
|
|
|
</binding>
|
2001-12-13 20:27:00 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/sim/startup/onground</property>
|
|
|
|
<value type="bool">false</value>
|
|
|
|
</binding>
|
2001-06-04 19:48:08 +00:00
|
|
|
</key>
|
|
|
|
|
2003-02-14 02:35:42 +00:00
|
|
|
<key n="22">
|
|
|
|
<name>Ctrl-V</name>
|
|
|
|
<desc>Select initial view (view 0).</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/sim/current-view/view-number</property>
|
|
|
|
<value>0</value>
|
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
Melchior FRANZ:
This is my local keyboard.xml file.
There are some definitions in there that I would like to see
in the official keyboard.xml file. I suggested some of them
already almost exactly one year ago, but the suggestion was
dismissed with the argument, that the keyboard settings
should/would be redone very soon, anyway ... :->
* shift escape ... reset FDM
(Note: this doesn't work on IRIX)
* ctrl w ... turn on wing leveler
* g ... gear up
* shift g ... gear down
* control b ... toggle speedbrake (emh)
1. The p51d cries for a "Reset" key. Yeah, I admit that I've
crashed some dozens of these beauties already, and yes, I
am ashamed. Having to turn the menu on every time was too
bothersome. Shift-ESC is still free and resetting is closely
related to quitting. So this seems natural. (And don't ask
why the command is called "old-reinit-dialog".)
2. Finally add a shortcut for the wing-leveler. Natural
choice: Ctrl-W, which is still free and fits well with the
other autopilot shortcuts Ctrl-[ANH].
3. Separate gear up and down into two different shortcuts.
It really doesn't make sense as a toggle property. I'd
even say, that this is the most important prerequisite
for becoming a serious flight simulator. ... Never
land on your belly again, because you were actually
retracting the landing gear on approach, having forgotten
to retract it on lift-off.
Erik Hofman:
I've added Ctrl+B as the default binding for speedbrake support but this binding is overrruled by the p51d model to switch engine boost level.
2003-06-29 17:35:39 +00:00
|
|
|
<key n="23">
|
|
|
|
<name>Ctrl-W</name>
|
|
|
|
<desc>Toggle autopilot wing leveler.</desc>
|
|
|
|
<binding>
|
2004-01-31 19:55:13 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
2007-08-01 08:20:21 +00:00
|
|
|
var node = props.globals.getNode("/autopilot/locks/heading", 1);
|
2004-01-31 19:55:13 +00:00
|
|
|
if ( node.getValue() == "wing-leveler" ) {
|
|
|
|
node.setValue( "" );
|
|
|
|
} else {
|
|
|
|
node.setValue( "wing-leveler" );
|
|
|
|
}
|
|
|
|
</script>
|
Melchior FRANZ:
This is my local keyboard.xml file.
There are some definitions in there that I would like to see
in the official keyboard.xml file. I suggested some of them
already almost exactly one year ago, but the suggestion was
dismissed with the argument, that the keyboard settings
should/would be redone very soon, anyway ... :->
* shift escape ... reset FDM
(Note: this doesn't work on IRIX)
* ctrl w ... turn on wing leveler
* g ... gear up
* shift g ... gear down
* control b ... toggle speedbrake (emh)
1. The p51d cries for a "Reset" key. Yeah, I admit that I've
crashed some dozens of these beauties already, and yes, I
am ashamed. Having to turn the menu on every time was too
bothersome. Shift-ESC is still free and resetting is closely
related to quitting. So this seems natural. (And don't ask
why the command is called "old-reinit-dialog".)
2. Finally add a shortcut for the wing-leveler. Natural
choice: Ctrl-W, which is still free and fits well with the
other autopilot shortcuts Ctrl-[ANH].
3. Separate gear up and down into two different shortcuts.
It really doesn't make sense as a toggle property. I'd
even say, that this is the most important prerequisite
for becoming a serious flight simulator. ... Never
land on your belly again, because you were actually
retracting the landing gear on approach, having forgotten
to retract it on lift-off.
Erik Hofman:
I've added Ctrl+B as the default binding for speedbrake support but this binding is overrruled by the p51d model to switch engine boost level.
2003-06-29 17:35:39 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
2005-06-23 14:01:58 +00:00
|
|
|
|
2003-10-14 21:03:10 +00:00
|
|
|
<key n="24">
|
|
|
|
<name>Ctrl-X</name>
|
2003-10-15 17:46:02 +00:00
|
|
|
<desc>Reset zoom to default.</desc>
|
2003-10-14 21:03:10 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/sim/current-view/field-of-view</property>
|
2004-06-24 14:45:48 +00:00
|
|
|
<property>/sim/view/config/default-field-of-view-deg</property>
|
2003-10-14 21:03:10 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
Melchior FRANZ:
This is my local keyboard.xml file.
There are some definitions in there that I would like to see
in the official keyboard.xml file. I suggested some of them
already almost exactly one year ago, but the suggestion was
dismissed with the argument, that the keyboard settings
should/would be redone very soon, anyway ... :->
* shift escape ... reset FDM
(Note: this doesn't work on IRIX)
* ctrl w ... turn on wing leveler
* g ... gear up
* shift g ... gear down
* control b ... toggle speedbrake (emh)
1. The p51d cries for a "Reset" key. Yeah, I admit that I've
crashed some dozens of these beauties already, and yes, I
am ashamed. Having to turn the menu on every time was too
bothersome. Shift-ESC is still free and resetting is closely
related to quitting. So this seems natural. (And don't ask
why the command is called "old-reinit-dialog".)
2. Finally add a shortcut for the wing-leveler. Natural
choice: Ctrl-W, which is still free and fits well with the
other autopilot shortcuts Ctrl-[ANH].
3. Separate gear up and down into two different shortcuts.
It really doesn't make sense as a toggle property. I'd
even say, that this is the most important prerequisite
for becoming a serious flight simulator. ... Never
land on your belly again, because you were actually
retracting the landing gear on approach, having forgotten
to retract it on lift-off.
Erik Hofman:
I've added Ctrl+B as the default binding for speedbrake support but this binding is overrruled by the p51d model to switch engine boost level.
2003-06-29 17:35:39 +00:00
|
|
|
|
2001-07-03 23:38:15 +00:00
|
|
|
<key n="27">
|
|
|
|
<name>ESC</name>
|
|
|
|
<desc>Prompt and quit FlightGear.</desc>
|
|
|
|
<binding>
|
2003-01-24 03:20:11 +00:00
|
|
|
<command>dialog-show</command>
|
|
|
|
<dialog-name>exit</dialog-name>
|
2001-07-03 23:38:15 +00:00
|
|
|
</binding>
|
Melchior FRANZ:
This is my local keyboard.xml file.
There are some definitions in there that I would like to see
in the official keyboard.xml file. I suggested some of them
already almost exactly one year ago, but the suggestion was
dismissed with the argument, that the keyboard settings
should/would be redone very soon, anyway ... :->
* shift escape ... reset FDM
(Note: this doesn't work on IRIX)
* ctrl w ... turn on wing leveler
* g ... gear up
* shift g ... gear down
* control b ... toggle speedbrake (emh)
1. The p51d cries for a "Reset" key. Yeah, I admit that I've
crashed some dozens of these beauties already, and yes, I
am ashamed. Having to turn the menu on every time was too
bothersome. Shift-ESC is still free and resetting is closely
related to quitting. So this seems natural. (And don't ask
why the command is called "old-reinit-dialog".)
2. Finally add a shortcut for the wing-leveler. Natural
choice: Ctrl-W, which is still free and fits well with the
other autopilot shortcuts Ctrl-[ANH].
3. Separate gear up and down into two different shortcuts.
It really doesn't make sense as a toggle property. I'd
even say, that this is the most important prerequisite
for becoming a serious flight simulator. ... Never
land on your belly again, because you were actually
retracting the landing gear on approach, having forgotten
to retract it on lift-off.
Erik Hofman:
I've added Ctrl+B as the default binding for speedbrake support but this binding is overrruled by the p51d model to switch engine boost level.
2003-06-29 17:35:39 +00:00
|
|
|
<mod-shift>
|
|
|
|
<desc>Reset FlightGear.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>old-reinit-dialog</command>
|
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
2001-07-03 23:38:15 +00:00
|
|
|
</key>
|
|
|
|
|
Added keybindings for selecting a current engine, for changing magneto
position, and for engaging the starter. Here's how it works:
1. To select an engine, use '!' (shift-1) for engine 1, '@' (shift-2)
for engine 2, '#' (shift-3) for engine 3, '$' (shift-4) for engine
4, or '~' to select all engines. These bindings set the bool
properties /sim/input/selected/engine[0],
/sim/input/selected/engine[1], etc.
2. To decrease the magneto for the selected engine(s), use '{'.
3. To increase the magneto for the selected engine(s), use '}'.
4. To engage the starter for the selected engine(s), use SPACE.
Eventually, I'll extend this so that the throttle uses the selected
engine as well, and will perhaps even support engine selection in the
joystick bindings. Right now, only engine 1 (engines[0]) is selected
by default.
2001-12-18 12:37:21 +00:00
|
|
|
<key n="32">
|
|
|
|
<name>SPACE</name>
|
2007-07-13 13:46:09 +00:00
|
|
|
<desc>PTT - Push To Talk (via VoIP)</desc>
|
Added keybindings for selecting a current engine, for changing magneto
position, and for engaging the starter. Here's how it works:
1. To select an engine, use '!' (shift-1) for engine 1, '@' (shift-2)
for engine 2, '#' (shift-3) for engine 3, '$' (shift-4) for engine
4, or '~' to select all engines. These bindings set the bool
properties /sim/input/selected/engine[0],
/sim/input/selected/engine[1], etc.
2. To decrease the magneto for the selected engine(s), use '{'.
3. To increase the magneto for the selected engine(s), use '}'.
4. To engage the starter for the selected engine(s), use SPACE.
Eventually, I'll extend this so that the throttle uses the selected
engine as well, and will perhaps even support engine selection in the
joystick bindings. Right now, only engine 1 (engines[0]) is selected
by default.
2001-12-18 12:37:21 +00:00
|
|
|
<binding>
|
2003-12-22 20:05:18 +00:00
|
|
|
<command>nasal</command>
|
2007-07-13 13:46:09 +00:00
|
|
|
<script>space(1, get_modifiers())</script>
|
Added keybindings for selecting a current engine, for changing magneto
position, and for engaging the starter. Here's how it works:
1. To select an engine, use '!' (shift-1) for engine 1, '@' (shift-2)
for engine 2, '#' (shift-3) for engine 3, '$' (shift-4) for engine
4, or '~' to select all engines. These bindings set the bool
properties /sim/input/selected/engine[0],
/sim/input/selected/engine[1], etc.
2. To decrease the magneto for the selected engine(s), use '{'.
3. To increase the magneto for the selected engine(s), use '}'.
4. To engage the starter for the selected engine(s), use SPACE.
Eventually, I'll extend this so that the throttle uses the selected
engine as well, and will perhaps even support engine selection in the
joystick bindings. Right now, only engine 1 (engines[0]) is selected
by default.
2001-12-18 12:37:21 +00:00
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
2003-12-22 20:05:18 +00:00
|
|
|
<command>nasal</command>
|
2007-07-13 13:46:09 +00:00
|
|
|
<script>space(0, get_modifiers())</script>
|
Added keybindings for selecting a current engine, for changing magneto
position, and for engaging the starter. Here's how it works:
1. To select an engine, use '!' (shift-1) for engine 1, '@' (shift-2)
for engine 2, '#' (shift-3) for engine 3, '$' (shift-4) for engine
4, or '~' to select all engines. These bindings set the bool
properties /sim/input/selected/engine[0],
/sim/input/selected/engine[1], etc.
2. To decrease the magneto for the selected engine(s), use '{'.
3. To increase the magneto for the selected engine(s), use '}'.
4. To engage the starter for the selected engine(s), use SPACE.
Eventually, I'll extend this so that the throttle uses the selected
engine as well, and will perhaps even support engine selection in the
joystick bindings. Right now, only engine 1 (engines[0]) is selected
by default.
2001-12-18 12:37:21 +00:00
|
|
|
</binding>
|
|
|
|
</mod-up>
|
2007-02-24 10:16:26 +00:00
|
|
|
<mod-shift>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
2007-07-13 13:46:09 +00:00
|
|
|
<script>space(1, get_modifiers())</script>
|
2007-02-24 10:16:26 +00:00
|
|
|
</binding>
|
2007-07-13 13:46:09 +00:00
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>space(0, get_modifiers())</script>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
2007-02-24 10:16:26 +00:00
|
|
|
</mod-shift>
|
Added keybindings for selecting a current engine, for changing magneto
position, and for engaging the starter. Here's how it works:
1. To select an engine, use '!' (shift-1) for engine 1, '@' (shift-2)
for engine 2, '#' (shift-3) for engine 3, '$' (shift-4) for engine
4, or '~' to select all engines. These bindings set the bool
properties /sim/input/selected/engine[0],
/sim/input/selected/engine[1], etc.
2. To decrease the magneto for the selected engine(s), use '{'.
3. To increase the magneto for the selected engine(s), use '}'.
4. To engage the starter for the selected engine(s), use SPACE.
Eventually, I'll extend this so that the throttle uses the selected
engine as well, and will perhaps even support engine selection in the
joystick bindings. Right now, only engine 1 (engines[0]) is selected
by default.
2001-12-18 12:37:21 +00:00
|
|
|
</key>
|
|
|
|
|
|
|
|
<key n="33">
|
|
|
|
<name>!</name>
|
|
|
|
<desc>Select first engine</desc>
|
|
|
|
<binding>
|
2003-12-22 20:05:18 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.selectEngine(0)</script>
|
Added keybindings for selecting a current engine, for changing magneto
position, and for engaging the starter. Here's how it works:
1. To select an engine, use '!' (shift-1) for engine 1, '@' (shift-2)
for engine 2, '#' (shift-3) for engine 3, '$' (shift-4) for engine
4, or '~' to select all engines. These bindings set the bool
properties /sim/input/selected/engine[0],
/sim/input/selected/engine[1], etc.
2. To decrease the magneto for the selected engine(s), use '{'.
3. To increase the magneto for the selected engine(s), use '}'.
4. To engage the starter for the selected engine(s), use SPACE.
Eventually, I'll extend this so that the throttle uses the selected
engine as well, and will perhaps even support engine selection in the
joystick bindings. Right now, only engine 1 (engines[0]) is selected
by default.
2001-12-18 12:37:21 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
|
|
|
<key n="35">
|
|
|
|
<name>#</name>
|
|
|
|
<desc>Select third engine</desc>
|
|
|
|
<binding>
|
2003-12-22 20:05:18 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.selectEngine(2)</script>
|
Added keybindings for selecting a current engine, for changing magneto
position, and for engaging the starter. Here's how it works:
1. To select an engine, use '!' (shift-1) for engine 1, '@' (shift-2)
for engine 2, '#' (shift-3) for engine 3, '$' (shift-4) for engine
4, or '~' to select all engines. These bindings set the bool
properties /sim/input/selected/engine[0],
/sim/input/selected/engine[1], etc.
2. To decrease the magneto for the selected engine(s), use '{'.
3. To increase the magneto for the selected engine(s), use '}'.
4. To engage the starter for the selected engine(s), use SPACE.
Eventually, I'll extend this so that the throttle uses the selected
engine as well, and will perhaps even support engine selection in the
joystick bindings. Right now, only engine 1 (engines[0]) is selected
by default.
2001-12-18 12:37:21 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
|
|
|
<key n="36">
|
|
|
|
<name>$</name>
|
|
|
|
<desc>Select fourth engine</desc>
|
|
|
|
<binding>
|
2003-12-22 20:05:18 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.selectEngine(3)</script>
|
Added keybindings for selecting a current engine, for changing magneto
position, and for engaging the starter. Here's how it works:
1. To select an engine, use '!' (shift-1) for engine 1, '@' (shift-2)
for engine 2, '#' (shift-3) for engine 3, '$' (shift-4) for engine
4, or '~' to select all engines. These bindings set the bool
properties /sim/input/selected/engine[0],
/sim/input/selected/engine[1], etc.
2. To decrease the magneto for the selected engine(s), use '{'.
3. To increase the magneto for the selected engine(s), use '}'.
4. To engage the starter for the selected engine(s), use SPACE.
Eventually, I'll extend this so that the throttle uses the selected
engine as well, and will perhaps even support engine selection in the
joystick bindings. Right now, only engine 1 (engines[0]) is selected
by default.
2001-12-18 12:37:21 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
2005-06-23 14:01:58 +00:00
|
|
|
|
2006-02-10 19:08:10 +00:00
|
|
|
<key n="39">
|
2002-12-17 17:24:05 +00:00
|
|
|
<name>'</name>
|
|
|
|
<desc>Display a dialog relevant to the tuned in ATC service (if any)</desc>
|
|
|
|
<binding>
|
|
|
|
<command>ATC-dialog</command>
|
|
|
|
</binding>
|
|
|
|
</key>
|
Added keybindings for selecting a current engine, for changing magneto
position, and for engaging the starter. Here's how it works:
1. To select an engine, use '!' (shift-1) for engine 1, '@' (shift-2)
for engine 2, '#' (shift-3) for engine 3, '$' (shift-4) for engine
4, or '~' to select all engines. These bindings set the bool
properties /sim/input/selected/engine[0],
/sim/input/selected/engine[1], etc.
2. To decrease the magneto for the selected engine(s), use '{'.
3. To increase the magneto for the selected engine(s), use '}'.
4. To engage the starter for the selected engine(s), use SPACE.
Eventually, I'll extend this so that the throttle uses the selected
engine as well, and will perhaps even support engine selection in the
joystick bindings. Right now, only engine 1 (engines[0]) is selected
by default.
2001-12-18 12:37:21 +00:00
|
|
|
|
2006-02-10 19:08:10 +00:00
|
|
|
<key n="43">
|
|
|
|
<name>+</name>
|
2006-02-24 11:06:06 +00:00
|
|
|
<desc>Let ATC/instructor repeat last message.</desc>
|
2006-02-10 19:08:10 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
2006-02-24 11:06:06 +00:00
|
|
|
<script>screen.msg_repeat()</script>
|
2006-02-10 19:08:10 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="44">
|
|
|
|
<name>,</name>
|
|
|
|
<desc>Left brake</desc>
|
|
|
|
<binding>
|
2006-03-01 17:04:20 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.applyBrakes(1, -1)</script>
|
2001-06-04 19:48:08 +00:00
|
|
|
</binding>
|
|
|
|
<mod-up>
|
2001-06-04 20:08:43 +00:00
|
|
|
<binding>
|
2006-03-01 17:04:20 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.applyBrakes(0, -1)</script>
|
2001-06-04 20:08:43 +00:00
|
|
|
</binding>
|
2001-06-04 19:48:08 +00:00
|
|
|
</mod-up>
|
|
|
|
</key>
|
|
|
|
|
2007-12-08 19:01:03 +00:00
|
|
|
<key n="45">
|
|
|
|
<name>-</name>
|
|
|
|
<repeatable type="bool">false</repeatable>
|
2007-12-11 15:20:00 +00:00
|
|
|
<desc>Chat Menu</desc>
|
2007-12-08 19:01:03 +00:00
|
|
|
<binding>
|
|
|
|
<command>dialog-show</command>
|
|
|
|
<dialog-name>chat-menu</dialog-name>
|
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2007-12-08 19:30:20 +00:00
|
|
|
<key n="46">
|
2001-06-04 19:48:08 +00:00
|
|
|
<name>.</name>
|
|
|
|
<desc>Right brake</desc>
|
|
|
|
<binding>
|
2006-03-01 17:04:20 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.applyBrakes(1, 1)</script>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
2001-06-04 19:48:08 +00:00
|
|
|
<mod-up>
|
2001-06-04 20:08:43 +00:00
|
|
|
<binding>
|
2006-03-01 17:04:20 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.applyBrakes(0, 1)</script>
|
2001-06-04 20:08:43 +00:00
|
|
|
</binding>
|
2001-06-04 19:48:08 +00:00
|
|
|
</mod-up>
|
2001-05-23 22:00:34 +00:00
|
|
|
</key>
|
|
|
|
|
2007-11-26 16:12:37 +00:00
|
|
|
<key n="47">
|
|
|
|
<name>/</name>
|
2007-11-26 17:55:28 +00:00
|
|
|
<desc>Open property browser</desc>
|
2007-11-26 16:12:37 +00:00
|
|
|
<binding>
|
|
|
|
<condition>
|
|
|
|
<not>
|
|
|
|
<property>/sim/input/property-key-handler</property>
|
|
|
|
</not>
|
|
|
|
</condition>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>gui.property_browser()</script>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<condition>
|
|
|
|
<property>/sim/input/property-key-handler</property>
|
|
|
|
</condition>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>prop_key_handler.start()</script>
|
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="48">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>0</name>
|
2004-01-31 19:55:13 +00:00
|
|
|
<desc>Move rudder left.</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-05-23 22:00:34 +00:00
|
|
|
<binding>
|
2001-06-01 17:02:31 +00:00
|
|
|
<command>property-adjust</command>
|
2004-01-31 19:55:13 +00:00
|
|
|
<property>/controls/flight/rudder</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
<step type="double">-0.05</step>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="49">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>1</name>
|
|
|
|
<desc>Decrease elevator trim.</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-05-23 22:00:34 +00:00
|
|
|
<binding>
|
2001-06-01 17:02:31 +00:00
|
|
|
<command>property-adjust</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/flight/elevator-trim</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
<step type="double">-0.001</step>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
2001-06-04 19:48:08 +00:00
|
|
|
<mod-shift>
|
|
|
|
<desc>Look back left</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2002-04-18 15:29:38 +00:00
|
|
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
2004-09-25 11:20:36 +00:00
|
|
|
<property>/sim/view/config/back-left-direction-deg</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
2001-05-23 22:00:34 +00:00
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="50">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>2</name>
|
2001-05-29 20:14:01 +00:00
|
|
|
<desc>Increase elevator or autopilot altitude.</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-05-23 22:00:34 +00:00
|
|
|
<binding>
|
2004-01-31 19:55:13 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
controls.incElevator(-0.05, 100)
|
|
|
|
</script>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
2001-06-04 19:48:08 +00:00
|
|
|
<mod-shift>
|
|
|
|
<desc>Look back.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2002-04-18 15:29:38 +00:00
|
|
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
2004-06-24 14:45:48 +00:00
|
|
|
<property>/sim/view/config/back-direction-deg</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
2001-05-23 22:00:34 +00:00
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="51">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>3</name>
|
2007-03-23 20:03:28 +00:00
|
|
|
<desc>Decrease throttle or autopilot autothrottle.</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-05-23 22:00:34 +00:00
|
|
|
<binding>
|
2007-03-23 20:03:28 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
controls.incThrottle(-0.01, -1.0)
|
|
|
|
</script>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
2001-06-04 19:48:08 +00:00
|
|
|
<mod-shift>
|
|
|
|
<desc>Look back right.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2002-04-18 15:29:38 +00:00
|
|
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
2004-06-24 14:45:48 +00:00
|
|
|
<property>/sim/view/config/back-right-direction-deg</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
2001-05-23 22:00:34 +00:00
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="52">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>4</name>
|
2004-01-31 19:55:13 +00:00
|
|
|
<desc>Move aileron left (or adjust AP heading.)</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-05-23 22:00:34 +00:00
|
|
|
<binding>
|
2004-01-31 19:55:13 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
controls.incAileron(-0.05, -1.0)
|
|
|
|
</script>
|
2001-06-01 17:02:31 +00:00
|
|
|
</binding>
|
2001-06-04 19:48:08 +00:00
|
|
|
<mod-shift>
|
|
|
|
<desc>Look left.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2002-04-18 15:29:38 +00:00
|
|
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
2004-06-24 14:45:48 +00:00
|
|
|
<property>/sim/view/config/left-direction-deg</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
2001-06-01 17:02:31 +00:00
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="53">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>5</name>
|
|
|
|
<desc>Center aileron, elevator, and rudder.</desc>
|
|
|
|
<binding>
|
2003-12-22 20:05:18 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.centerFlightControls()</script>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="54">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>6</name>
|
2004-01-31 19:55:13 +00:00
|
|
|
<desc>Move aileron right (or adjust AP heading.)</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-05-23 22:00:34 +00:00
|
|
|
<binding>
|
2004-01-31 19:55:13 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
controls.incAileron(0.05, 1.0)
|
|
|
|
</script>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
2001-06-04 19:48:08 +00:00
|
|
|
<mod-shift>
|
|
|
|
<desc>Look right.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2002-04-18 15:29:38 +00:00
|
|
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
2004-06-24 14:45:48 +00:00
|
|
|
<property>/sim/view/config/right-direction-deg</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
2001-05-23 22:00:34 +00:00
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="55">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>7</name>
|
|
|
|
<desc>Increase elevator trim.</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-05-23 22:00:34 +00:00
|
|
|
<binding>
|
2001-06-01 17:02:31 +00:00
|
|
|
<command>property-adjust</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/flight/elevator-trim</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
<step type="double">0.001</step>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
2001-06-04 19:48:08 +00:00
|
|
|
<mod-shift>
|
|
|
|
<desc>Look front left.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2002-04-18 15:29:38 +00:00
|
|
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
2004-06-24 14:45:48 +00:00
|
|
|
<property>/sim/view/config/front-left-direction-deg</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
2001-05-23 22:00:34 +00:00
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="56">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>8</name>
|
2001-05-29 20:14:01 +00:00
|
|
|
<desc>Decrease elevator or autopilot altitude.</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-05-23 22:00:34 +00:00
|
|
|
<binding>
|
2004-01-31 19:55:13 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
controls.incElevator(0.05, -100)
|
|
|
|
</script>
|
2001-06-01 17:02:31 +00:00
|
|
|
</binding>
|
2001-06-04 19:48:08 +00:00
|
|
|
<mod-shift>
|
|
|
|
<desc>Look forward.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2002-04-18 15:29:38 +00:00
|
|
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
2004-06-24 14:45:48 +00:00
|
|
|
<property>/sim/view/config/front-direction-deg</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
2001-06-01 17:02:31 +00:00
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="57">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>9</name>
|
2001-05-29 20:14:01 +00:00
|
|
|
<desc>Increase throttle or autopilot autothrottle.</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-05-23 22:00:34 +00:00
|
|
|
<binding>
|
2007-03-23 20:03:28 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
controls.incThrottle(0.01, 1.0)
|
|
|
|
</script>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
2001-06-04 19:48:08 +00:00
|
|
|
<mod-shift>
|
|
|
|
<desc>Look front right.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2002-04-18 15:29:38 +00:00
|
|
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
2004-06-24 14:45:48 +00:00
|
|
|
<property>/sim/view/config/front-right-direction-deg</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
2001-05-23 22:00:34 +00:00
|
|
|
</key>
|
|
|
|
|
2005-04-19 13:38:44 +00:00
|
|
|
<key n="63">
|
|
|
|
<name>?</name>
|
|
|
|
<desc>Show help dialog</desc>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>gui.showHelpDialog("/sim/help", 1)</script>
|
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
Added keybindings for selecting a current engine, for changing magneto
position, and for engaging the starter. Here's how it works:
1. To select an engine, use '!' (shift-1) for engine 1, '@' (shift-2)
for engine 2, '#' (shift-3) for engine 3, '$' (shift-4) for engine
4, or '~' to select all engines. These bindings set the bool
properties /sim/input/selected/engine[0],
/sim/input/selected/engine[1], etc.
2. To decrease the magneto for the selected engine(s), use '{'.
3. To increase the magneto for the selected engine(s), use '}'.
4. To engage the starter for the selected engine(s), use SPACE.
Eventually, I'll extend this so that the throttle uses the selected
engine as well, and will perhaps even support engine selection in the
joystick bindings. Right now, only engine 1 (engines[0]) is selected
by default.
2001-12-18 12:37:21 +00:00
|
|
|
<key n="64">
|
|
|
|
<name>@</name>
|
|
|
|
<desc>Select second engine</desc>
|
|
|
|
<binding>
|
2003-12-22 20:05:18 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.selectEngine(1)</script>
|
Added keybindings for selecting a current engine, for changing magneto
position, and for engaging the starter. Here's how it works:
1. To select an engine, use '!' (shift-1) for engine 1, '@' (shift-2)
for engine 2, '#' (shift-3) for engine 3, '$' (shift-4) for engine
4, or '~' to select all engines. These bindings set the bool
properties /sim/input/selected/engine[0],
/sim/input/selected/engine[1], etc.
2. To decrease the magneto for the selected engine(s), use '{'.
3. To increase the magneto for the selected engine(s), use '}'.
4. To engage the starter for the selected engine(s), use SPACE.
Eventually, I'll extend this so that the throttle uses the selected
engine as well, and will perhaps even support engine selection in the
joystick bindings. Right now, only engine 1 (engines[0]) is selected
by default.
2001-12-18 12:37:21 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="65">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>A</name>
|
|
|
|
<desc>Decrease speed-up.</desc>
|
|
|
|
<binding>
|
2001-06-01 17:02:31 +00:00
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/sim/speed-up</property>
|
2001-10-27 16:27:56 +00:00
|
|
|
<min>1</min>
|
2001-06-04 19:48:08 +00:00
|
|
|
<step type="double">-1</step>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-07-03 23:38:15 +00:00
|
|
|
<key n="66">
|
|
|
|
<name>B</name>
|
|
|
|
<desc>Toggle parking brake on or off</desc>
|
|
|
|
<binding>
|
2006-03-01 17:04:20 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.applyParkingBrake(1)</script>
|
2001-07-03 23:38:15 +00:00
|
|
|
</binding>
|
2006-03-01 17:04:20 +00:00
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.applyParkingBrake(0)</script>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
2001-07-03 23:38:15 +00:00
|
|
|
</key>
|
|
|
|
|
Melchior FRANZ:
This is my local keyboard.xml file.
There are some definitions in there that I would like to see
in the official keyboard.xml file. I suggested some of them
already almost exactly one year ago, but the suggestion was
dismissed with the argument, that the keyboard settings
should/would be redone very soon, anyway ... :->
* shift escape ... reset FDM
(Note: this doesn't work on IRIX)
* ctrl w ... turn on wing leveler
* g ... gear up
* shift g ... gear down
* control b ... toggle speedbrake (emh)
1. The p51d cries for a "Reset" key. Yeah, I admit that I've
crashed some dozens of these beauties already, and yes, I
am ashamed. Having to turn the menu on every time was too
bothersome. Shift-ESC is still free and resetting is closely
related to quitting. So this seems natural. (And don't ask
why the command is called "old-reinit-dialog".)
2. Finally add a shortcut for the wing-leveler. Natural
choice: Ctrl-W, which is still free and fits well with the
other autopilot shortcuts Ctrl-[ANH].
3. Separate gear up and down into two different shortcuts.
It really doesn't make sense as a toggle property. I'd
even say, that this is the most important prerequisite
for becoming a serious flight simulator. ... Never
land on your belly again, because you were actually
retracting the landing gear on approach, having forgotten
to retract it on lift-off.
Erik Hofman:
I've added Ctrl+B as the default binding for speedbrake support but this binding is overrruled by the p51d model to switch engine boost level.
2003-06-29 17:35:39 +00:00
|
|
|
<key n="71">
|
|
|
|
<name>G</name>
|
|
|
|
<desc>Gear down.</desc>
|
|
|
|
<binding>
|
2005-06-16 07:36:54 +00:00
|
|
|
<command>nasal</command>
|
2005-06-22 13:08:01 +00:00
|
|
|
<script>controls.gearDown(1)</script>
|
Melchior FRANZ:
This is my local keyboard.xml file.
There are some definitions in there that I would like to see
in the official keyboard.xml file. I suggested some of them
already almost exactly one year ago, but the suggestion was
dismissed with the argument, that the keyboard settings
should/would be redone very soon, anyway ... :->
* shift escape ... reset FDM
(Note: this doesn't work on IRIX)
* ctrl w ... turn on wing leveler
* g ... gear up
* shift g ... gear down
* control b ... toggle speedbrake (emh)
1. The p51d cries for a "Reset" key. Yeah, I admit that I've
crashed some dozens of these beauties already, and yes, I
am ashamed. Having to turn the menu on every time was too
bothersome. Shift-ESC is still free and resetting is closely
related to quitting. So this seems natural. (And don't ask
why the command is called "old-reinit-dialog".)
2. Finally add a shortcut for the wing-leveler. Natural
choice: Ctrl-W, which is still free and fits well with the
other autopilot shortcuts Ctrl-[ANH].
3. Separate gear up and down into two different shortcuts.
It really doesn't make sense as a toggle property. I'd
even say, that this is the most important prerequisite
for becoming a serious flight simulator. ... Never
land on your belly again, because you were actually
retracting the landing gear on approach, having forgotten
to retract it on lift-off.
Erik Hofman:
I've added Ctrl+B as the default binding for speedbrake support but this binding is overrruled by the p51d model to switch engine boost level.
2003-06-29 17:35:39 +00:00
|
|
|
</binding>
|
2005-06-22 13:08:01 +00:00
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.gearDown(0)</script>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
Melchior FRANZ:
This is my local keyboard.xml file.
There are some definitions in there that I would like to see
in the official keyboard.xml file. I suggested some of them
already almost exactly one year ago, but the suggestion was
dismissed with the argument, that the keyboard settings
should/would be redone very soon, anyway ... :->
* shift escape ... reset FDM
(Note: this doesn't work on IRIX)
* ctrl w ... turn on wing leveler
* g ... gear up
* shift g ... gear down
* control b ... toggle speedbrake (emh)
1. The p51d cries for a "Reset" key. Yeah, I admit that I've
crashed some dozens of these beauties already, and yes, I
am ashamed. Having to turn the menu on every time was too
bothersome. Shift-ESC is still free and resetting is closely
related to quitting. So this seems natural. (And don't ask
why the command is called "old-reinit-dialog".)
2. Finally add a shortcut for the wing-leveler. Natural
choice: Ctrl-W, which is still free and fits well with the
other autopilot shortcuts Ctrl-[ANH].
3. Separate gear up and down into two different shortcuts.
It really doesn't make sense as a toggle property. I'd
even say, that this is the most important prerequisite
for becoming a serious flight simulator. ... Never
land on your belly again, because you were actually
retracting the landing gear on approach, having forgotten
to retract it on lift-off.
Erik Hofman:
I've added Ctrl+B as the default binding for speedbrake support but this binding is overrruled by the p51d model to switch engine boost level.
2003-06-29 17:35:39 +00:00
|
|
|
</key>
|
|
|
|
|
2004-04-05 19:39:47 +00:00
|
|
|
<key n="72">
|
|
|
|
<name>H</name>
|
|
|
|
<desc>Cycle HUD Brightness</desc>
|
|
|
|
<binding>
|
2006-06-07 17:58:55 +00:00
|
|
|
<command>nasal</command>
|
2006-08-21 08:40:15 +00:00
|
|
|
<script>aircraft.HUD.cycle_brightness()</script>
|
2004-04-05 19:39:47 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
|
|
|
<key n="73">
|
|
|
|
<name>I</name>
|
2006-08-21 08:43:36 +00:00
|
|
|
<desc>Switch to and toggle alternative HUD types</desc>
|
2004-04-05 19:39:47 +00:00
|
|
|
<binding>
|
2006-08-21 08:40:15 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>aircraft.HUD.cycle_type()</script>
|
2004-04-05 19:39:47 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-07-03 23:38:15 +00:00
|
|
|
<key n="77">
|
|
|
|
<name>M</name>
|
2005-04-20 12:12:58 +00:00
|
|
|
<desc>Mixture leaner.</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-07-03 23:38:15 +00:00
|
|
|
<binding>
|
2005-04-20 12:12:58 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.adjMixture(-1)</script>
|
2001-07-03 23:38:15 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2006-08-09 13:56:48 +00:00
|
|
|
<key n="78">
|
|
|
|
<name>N</name>
|
|
|
|
<desc>Propeller Coarser.</desc>
|
|
|
|
<repeatable type="bool">true</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.adjPropeller(-1)</script>
|
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="80">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>P</name>
|
|
|
|
<desc>Toggle panel.</desc>
|
|
|
|
<binding>
|
2001-06-01 17:02:31 +00:00
|
|
|
<command>property-toggle</command>
|
|
|
|
<property>/sim/panel/visibility</property>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2007-07-13 13:46:09 +00:00
|
|
|
<key n="83">
|
|
|
|
<name>S</name>
|
|
|
|
<desc>Swap panels.</desc>
|
|
|
|
<binding>
|
|
|
|
<condition>
|
|
|
|
<not>
|
|
|
|
<property>/sim/allow-toggle-cockpit</property>
|
|
|
|
</not>
|
|
|
|
</condition>
|
|
|
|
<command>property-swap</command>
|
|
|
|
<property>/sim/panel/path</property>
|
|
|
|
<property>/sim/panel_2/path</property>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<condition>
|
|
|
|
<not>
|
|
|
|
<property>/sim/allow-toggle-cockpit</property>
|
|
|
|
</not>
|
|
|
|
</condition>
|
|
|
|
<command>panel-load</command>
|
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-07-03 23:38:15 +00:00
|
|
|
<key n="84">
|
|
|
|
<name>T</name>
|
|
|
|
<desc>Decrease warp delta.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/sim/time/warp-delta</property>
|
2002-04-09 10:45:47 +00:00
|
|
|
<step type="int">-30</step>
|
2001-07-03 23:38:15 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2003-02-06 19:46:48 +00:00
|
|
|
<key n="86">
|
|
|
|
<name>V</name>
|
2003-02-14 02:35:42 +00:00
|
|
|
<desc>Scroll in reverse through views.</desc>
|
2003-02-06 19:46:48 +00:00
|
|
|
<binding>
|
2003-12-22 20:05:18 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>view.stepView(-1)</script>
|
2003-02-06 19:46:48 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-07-16 03:20:50 +00:00
|
|
|
<key n="87">
|
|
|
|
<name>W</name>
|
2005-04-20 12:12:58 +00:00
|
|
|
<desc>Decrease warp.</desc>
|
2001-07-16 03:20:50 +00:00
|
|
|
<binding>
|
2005-04-20 12:12:58 +00:00
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/sim/time/warp</property>
|
|
|
|
<step type="int">-60</step>
|
2001-07-16 03:20:50 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-07-03 23:38:15 +00:00
|
|
|
<key n="88">
|
|
|
|
<name>X</name>
|
|
|
|
<desc>Increase field of view.</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-07-03 23:38:15 +00:00
|
|
|
<binding>
|
2003-12-08 02:09:19 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>view.increase()</script>
|
2001-07-03 23:38:15 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
|
|
|
<key n="90">
|
|
|
|
<name>Z</name>
|
|
|
|
<desc>Decrease Visibility</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-07-03 23:38:15 +00:00
|
|
|
<binding>
|
2003-08-05 16:38:44 +00:00
|
|
|
<command>decrease-visibility</command>
|
2001-07-03 23:38:15 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="91">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>[</name>
|
|
|
|
<desc>Decrease flaps.</desc>
|
|
|
|
<binding>
|
2003-12-22 20:05:18 +00:00
|
|
|
<command>nasal</command>
|
2005-06-22 13:08:01 +00:00
|
|
|
<script>controls.flapsDown(-1)</script>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
2005-06-22 13:08:01 +00:00
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.flapsDown(0)</script>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
2001-05-23 22:00:34 +00:00
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="93">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>]</name>
|
|
|
|
<desc>Increase flaps.</desc>
|
|
|
|
<binding>
|
2003-12-22 20:05:18 +00:00
|
|
|
<command>nasal</command>
|
2005-06-22 13:08:01 +00:00
|
|
|
<script>controls.flapsDown(1)</script>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
2005-06-22 13:08:01 +00:00
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.flapsDown(0)</script>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
2001-05-23 22:00:34 +00:00
|
|
|
</key>
|
|
|
|
|
2007-12-08 19:01:03 +00:00
|
|
|
<key n="95">
|
|
|
|
<name>_</name>
|
|
|
|
<repeatable type="bool">false</repeatable>
|
|
|
|
<desc>Compose Chat</desc>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>multiplayer.compose_message()</script>
|
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2007-12-08 19:30:20 +00:00
|
|
|
<key n="97">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>a</name>
|
|
|
|
<desc>Increase speed-up.</desc>
|
|
|
|
<binding>
|
2001-06-01 17:02:31 +00:00
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/sim/speed-up</property>
|
2001-10-27 16:27:56 +00:00
|
|
|
<min>1</min>
|
2001-06-04 19:48:08 +00:00
|
|
|
<step type="double">1</step>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="98">
|
|
|
|
<name>b</name>
|
|
|
|
<desc>Apply all brakes.</desc>
|
|
|
|
<binding>
|
2006-03-01 17:04:20 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.applyBrakes(1)</script>
|
2001-06-04 19:48:08 +00:00
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
2006-03-01 17:04:20 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.applyBrakes(0)</script>
|
2001-06-04 19:48:08 +00:00
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</key>
|
|
|
|
|
2002-04-19 23:47:16 +00:00
|
|
|
<key n="99">
|
|
|
|
<name>c</name>
|
|
|
|
<desc>Toggle 3D/2D cockpit</desc>
|
|
|
|
<binding>
|
2003-12-22 20:05:18 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
if(getprop("/sim/allow-toggle-cockpit")) {
|
2004-03-24 16:07:09 +00:00
|
|
|
setprop("/sim/current-view/internal", !getprop("/sim/current-view/internal"));
|
|
|
|
setprop("/sim/view/internal", getprop("/sim/current-view/internal"));
|
2003-12-22 20:05:18 +00:00
|
|
|
setprop("/sim/virtual-cockpit", !getprop("/sim/virtual-cockpit"));
|
2004-03-24 16:07:09 +00:00
|
|
|
if(getprop("/sim/current-view/internal")) {
|
|
|
|
setprop("/sim/current-view/heading-offset-deg", getprop("/sim/current-view/config/heading-offset-deg"));
|
|
|
|
setprop("/sim/current-view/pitch-offset-deg", getprop("/sim/current-view/config/pitch-offset-deg"));
|
|
|
|
} else {
|
|
|
|
setprop("/sim/current-view/heading-offset-deg", 0);
|
|
|
|
setprop("/sim/current-view/pitch-offset-deg", 0);
|
|
|
|
}
|
2003-12-22 20:05:18 +00:00
|
|
|
}
|
|
|
|
</script>
|
2002-04-19 23:47:16 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2002-05-23 17:34:59 +00:00
|
|
|
<key n="103">
|
|
|
|
<name>g</name>
|
Melchior FRANZ:
This is my local keyboard.xml file.
There are some definitions in there that I would like to see
in the official keyboard.xml file. I suggested some of them
already almost exactly one year ago, but the suggestion was
dismissed with the argument, that the keyboard settings
should/would be redone very soon, anyway ... :->
* shift escape ... reset FDM
(Note: this doesn't work on IRIX)
* ctrl w ... turn on wing leveler
* g ... gear up
* shift g ... gear down
* control b ... toggle speedbrake (emh)
1. The p51d cries for a "Reset" key. Yeah, I admit that I've
crashed some dozens of these beauties already, and yes, I
am ashamed. Having to turn the menu on every time was too
bothersome. Shift-ESC is still free and resetting is closely
related to quitting. So this seems natural. (And don't ask
why the command is called "old-reinit-dialog".)
2. Finally add a shortcut for the wing-leveler. Natural
choice: Ctrl-W, which is still free and fits well with the
other autopilot shortcuts Ctrl-[ANH].
3. Separate gear up and down into two different shortcuts.
It really doesn't make sense as a toggle property. I'd
even say, that this is the most important prerequisite
for becoming a serious flight simulator. ... Never
land on your belly again, because you were actually
retracting the landing gear on approach, having forgotten
to retract it on lift-off.
Erik Hofman:
I've added Ctrl+B as the default binding for speedbrake support but this binding is overrruled by the p51d model to switch engine boost level.
2003-06-29 17:35:39 +00:00
|
|
|
<desc>Gear Up.</desc>
|
2002-05-23 17:34:59 +00:00
|
|
|
<binding>
|
2005-06-16 07:36:54 +00:00
|
|
|
<command>nasal</command>
|
2005-06-22 13:08:01 +00:00
|
|
|
<script>controls.gearDown(-1)</script>
|
2002-05-23 17:34:59 +00:00
|
|
|
</binding>
|
2005-06-22 13:08:01 +00:00
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.gearDown(0)</script>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
2002-05-23 17:34:59 +00:00
|
|
|
</key>
|
|
|
|
|
2004-04-05 19:39:47 +00:00
|
|
|
<key n="104">
|
|
|
|
<name>h</name>
|
|
|
|
<desc>HUD Master Switch</desc>
|
|
|
|
<binding>
|
2006-06-07 17:58:55 +00:00
|
|
|
<command>nasal</command>
|
2006-08-21 08:40:15 +00:00
|
|
|
<script>aircraft.HUD.cycle_color()</script>
|
2004-04-05 19:39:47 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
|
|
|
<key n="105">
|
|
|
|
<name>i</name>
|
|
|
|
<desc>Normal HUD</desc>
|
|
|
|
<binding>
|
2006-08-21 08:40:15 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>aircraft.HUD.normal_type()</script>
|
2004-04-05 19:39:47 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2003-06-08 22:39:24 +00:00
|
|
|
<key n="106">
|
|
|
|
<name>j</name>
|
|
|
|
<desc>Decrease spoilers.</desc>
|
|
|
|
<binding>
|
2004-06-01 08:13:12 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.stepSpoilers(-1)</script>
|
2003-06-08 22:39:24 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
|
|
|
<key n="107">
|
|
|
|
<name>k</name>
|
|
|
|
<desc>Increase spoilers.</desc>
|
|
|
|
<binding>
|
2004-06-01 08:13:12 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.stepSpoilers(1)</script>
|
2003-06-08 22:39:24 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2002-05-23 17:34:59 +00:00
|
|
|
<key n="108">
|
|
|
|
<name>l</name>
|
2007-11-13 14:42:44 +00:00
|
|
|
<desc>Toggle tail-wheel lock.</desc>
|
2002-05-23 17:34:59 +00:00
|
|
|
<binding>
|
2007-11-13 14:42:44 +00:00
|
|
|
<command>property-toggle</command>
|
|
|
|
<property>/controls/gear/tailwheel-lock</property>
|
2002-05-23 17:34:59 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-07-03 23:38:15 +00:00
|
|
|
<key n="109">
|
|
|
|
<name>m</name>
|
2005-04-20 12:12:58 +00:00
|
|
|
<desc>Mixture richer.</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-07-03 23:38:15 +00:00
|
|
|
<binding>
|
2005-04-20 12:12:58 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.adjMixture(1)</script>
|
2001-07-03 23:38:15 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2006-08-09 13:56:48 +00:00
|
|
|
<key n="110">
|
|
|
|
<name>n</name>
|
|
|
|
<desc>Propeller Finer.</desc>
|
|
|
|
<repeatable type="bool">true</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.adjPropeller(1)</script>
|
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-07-03 23:38:15 +00:00
|
|
|
<key n="112">
|
|
|
|
<name>p</name>
|
|
|
|
<desc>Toggle the pause state of the sim.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-toggle</command>
|
2002-01-20 02:54:31 +00:00
|
|
|
<property>/sim/freeze/master</property>
|
2001-07-03 23:38:15 +00:00
|
|
|
</binding>
|
2002-02-13 21:40:43 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-toggle</command>
|
|
|
|
<property>/sim/freeze/clock</property>
|
|
|
|
</binding>
|
2003-07-17 18:18:10 +00:00
|
|
|
<binding>
|
2007-05-05 11:09:48 +00:00
|
|
|
<condition>
|
|
|
|
<property>/sim/freeze/replay-state</property>
|
|
|
|
</condition>
|
2003-07-17 18:18:10 +00:00
|
|
|
<command>property-assign</command>
|
2005-01-05 05:46:59 +00:00
|
|
|
<property>/sim/freeze/replay-state</property>
|
|
|
|
<value type="int">0</value>
|
2003-07-17 18:18:10 +00:00
|
|
|
</binding>
|
2001-07-03 23:38:15 +00:00
|
|
|
</key>
|
|
|
|
|
2003-07-18 02:39:57 +00:00
|
|
|
<key n="114">
|
|
|
|
<name>r</name>
|
|
|
|
<desc>Activate the instant replay system.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>replay</command>
|
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-07-03 21:03:42 +00:00
|
|
|
<key n="115">
|
|
|
|
<name>s</name>
|
2007-07-13 13:46:09 +00:00
|
|
|
<desc>Fire Starter on Selected Engine(s)</desc>
|
2001-07-03 23:38:15 +00:00
|
|
|
<binding>
|
2007-07-13 13:46:09 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.startEngine()</script>
|
2001-07-03 23:38:15 +00:00
|
|
|
</binding>
|
2007-07-13 13:46:09 +00:00
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>props.setAll("/controls/engines/engine", "starter", 0)</script>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
2001-07-03 23:38:15 +00:00
|
|
|
</key>
|
|
|
|
|
2007-07-13 13:46:09 +00:00
|
|
|
<nasal>
|
|
|
|
<script>
|
2007-07-19 21:31:24 +00:00
|
|
|
var t_id = 0;
|
2007-07-13 13:46:09 +00:00
|
|
|
</script>
|
|
|
|
</nasal>
|
|
|
|
|
2001-07-03 23:38:15 +00:00
|
|
|
<key n="116">
|
|
|
|
<name>t</name>
|
|
|
|
<desc>Increase warp delta.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/sim/time/warp-delta</property>
|
2002-04-09 10:45:47 +00:00
|
|
|
<step type="int">30</step>
|
2001-06-26 21:01:46 +00:00
|
|
|
</binding>
|
2007-07-13 13:46:09 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
(func(x) {
|
|
|
|
settimer(func {
|
|
|
|
x == t_id or return;
|
|
|
|
gui.popupTip("resetting warp");
|
|
|
|
setprop("/sim/time/warp-delta", 0);
|
|
|
|
}, 1, 1)
|
|
|
|
})(t_id += 1)
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>t_id += 1</script>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
2001-06-26 21:01:46 +00:00
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="118">
|
2001-06-01 17:02:31 +00:00
|
|
|
<name>v</name>
|
2003-12-22 20:05:18 +00:00
|
|
|
<desc>Scroll through views.</desc>
|
2003-02-14 02:35:42 +00:00
|
|
|
<binding>
|
2003-12-22 20:05:18 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>view.stepView(1)</script>
|
2001-06-01 17:02:31 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2005-04-20 12:12:58 +00:00
|
|
|
<key n="119">
|
|
|
|
<name>w</name>
|
|
|
|
<desc>Increase warp.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/sim/time/warp</property>
|
|
|
|
<step type="int">60</step>
|
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-07-03 23:38:15 +00:00
|
|
|
<key n="120">
|
|
|
|
<name>x</name>
|
|
|
|
<desc>Decrease field of view.</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-07-03 23:38:15 +00:00
|
|
|
<binding>
|
2003-12-08 02:09:19 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>view.decrease()</script>
|
2001-07-03 23:38:15 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
|
|
|
<key n="122">
|
|
|
|
<name>z</name>
|
|
|
|
<desc>Increase Visibility</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-07-03 23:38:15 +00:00
|
|
|
<binding>
|
2003-08-05 16:38:44 +00:00
|
|
|
<command>increase-visibility</command>
|
2001-07-03 23:38:15 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
2005-06-23 14:01:58 +00:00
|
|
|
|
Added keybindings for selecting a current engine, for changing magneto
position, and for engaging the starter. Here's how it works:
1. To select an engine, use '!' (shift-1) for engine 1, '@' (shift-2)
for engine 2, '#' (shift-3) for engine 3, '$' (shift-4) for engine
4, or '~' to select all engines. These bindings set the bool
properties /sim/input/selected/engine[0],
/sim/input/selected/engine[1], etc.
2. To decrease the magneto for the selected engine(s), use '{'.
3. To increase the magneto for the selected engine(s), use '}'.
4. To engage the starter for the selected engine(s), use SPACE.
Eventually, I'll extend this so that the throttle uses the selected
engine as well, and will perhaps even support engine selection in the
joystick bindings. Right now, only engine 1 (engines[0]) is selected
by default.
2001-12-18 12:37:21 +00:00
|
|
|
<key n="123">
|
|
|
|
<name>{</name>
|
|
|
|
<desc>Decrease Magneto on Selected Engine</desc>
|
|
|
|
<binding>
|
2003-12-22 20:05:18 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.stepMagnetos(-1)</script>
|
Added keybindings for selecting a current engine, for changing magneto
position, and for engaging the starter. Here's how it works:
1. To select an engine, use '!' (shift-1) for engine 1, '@' (shift-2)
for engine 2, '#' (shift-3) for engine 3, '$' (shift-4) for engine
4, or '~' to select all engines. These bindings set the bool
properties /sim/input/selected/engine[0],
/sim/input/selected/engine[1], etc.
2. To decrease the magneto for the selected engine(s), use '{'.
3. To increase the magneto for the selected engine(s), use '}'.
4. To engage the starter for the selected engine(s), use SPACE.
Eventually, I'll extend this so that the throttle uses the selected
engine as well, and will perhaps even support engine selection in the
joystick bindings. Right now, only engine 1 (engines[0]) is selected
by default.
2001-12-18 12:37:21 +00:00
|
|
|
</binding>
|
2008-02-23 18:18:55 +00:00
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.stepMagnetos(0)</script>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
Added keybindings for selecting a current engine, for changing magneto
position, and for engaging the starter. Here's how it works:
1. To select an engine, use '!' (shift-1) for engine 1, '@' (shift-2)
for engine 2, '#' (shift-3) for engine 3, '$' (shift-4) for engine
4, or '~' to select all engines. These bindings set the bool
properties /sim/input/selected/engine[0],
/sim/input/selected/engine[1], etc.
2. To decrease the magneto for the selected engine(s), use '{'.
3. To increase the magneto for the selected engine(s), use '}'.
4. To engage the starter for the selected engine(s), use SPACE.
Eventually, I'll extend this so that the throttle uses the selected
engine as well, and will perhaps even support engine selection in the
joystick bindings. Right now, only engine 1 (engines[0]) is selected
by default.
2001-12-18 12:37:21 +00:00
|
|
|
</key>
|
|
|
|
|
|
|
|
<key n="125">
|
|
|
|
<name>}</name>
|
|
|
|
<desc>Increase Magneto on Selected Engine</desc>
|
|
|
|
<binding>
|
2003-12-22 20:05:18 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.stepMagnetos(1)</script>
|
2003-09-30 19:56:39 +00:00
|
|
|
</binding>
|
2008-02-23 18:18:55 +00:00
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.stepMagnetos(0)</script>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
Added keybindings for selecting a current engine, for changing magneto
position, and for engaging the starter. Here's how it works:
1. To select an engine, use '!' (shift-1) for engine 1, '@' (shift-2)
for engine 2, '#' (shift-3) for engine 3, '$' (shift-4) for engine
4, or '~' to select all engines. These bindings set the bool
properties /sim/input/selected/engine[0],
/sim/input/selected/engine[1], etc.
2. To decrease the magneto for the selected engine(s), use '{'.
3. To increase the magneto for the selected engine(s), use '}'.
4. To engage the starter for the selected engine(s), use SPACE.
Eventually, I'll extend this so that the throttle uses the selected
engine as well, and will perhaps even support engine selection in the
joystick bindings. Right now, only engine 1 (engines[0]) is selected
by default.
2001-12-18 12:37:21 +00:00
|
|
|
</key>
|
|
|
|
|
|
|
|
<key n="126">
|
|
|
|
<name>~</name>
|
|
|
|
<desc>Select all engines</desc>
|
|
|
|
<binding>
|
2003-12-22 20:05:18 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.selectAllEngines()</script>
|
Added keybindings for selecting a current engine, for changing magneto
position, and for engaging the starter. Here's how it works:
1. To select an engine, use '!' (shift-1) for engine 1, '@' (shift-2)
for engine 2, '#' (shift-3) for engine 3, '$' (shift-4) for engine
4, or '~' to select all engines. These bindings set the bool
properties /sim/input/selected/engine[0],
/sim/input/selected/engine[1], etc.
2. To decrease the magneto for the selected engine(s), use '{'.
3. To increase the magneto for the selected engine(s), use '}'.
4. To engage the starter for the selected engine(s), use SPACE.
Eventually, I'll extend this so that the throttle uses the selected
engine as well, and will perhaps even support engine selection in the
joystick bindings. Right now, only engine 1 (engines[0]) is selected
by default.
2001-12-18 12:37:21 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-06-05 20:14:56 +00:00
|
|
|
<key n="257">
|
|
|
|
<name>F1</name>
|
|
|
|
<mod-shift>
|
2005-06-23 14:01:58 +00:00
|
|
|
<desc>Load flight.</desc>
|
2001-06-05 20:14:56 +00:00
|
|
|
<binding>
|
|
|
|
<command>load</command>
|
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
|
|
|
</key>
|
|
|
|
|
|
|
|
<key n="258">
|
|
|
|
<name>F2</name>
|
2005-06-23 14:01:58 +00:00
|
|
|
<desc>Force tile cache reload.</desc>
|
2001-07-03 23:38:15 +00:00
|
|
|
<binding>
|
|
|
|
<command>tile-cache-reload</command>
|
|
|
|
</binding>
|
2001-06-05 20:14:56 +00:00
|
|
|
<mod-shift>
|
2005-06-23 14:01:58 +00:00
|
|
|
<desc>Save flight.</desc>
|
2001-06-05 20:14:56 +00:00
|
|
|
<binding>
|
|
|
|
<command>save</command>
|
2002-03-09 11:18:07 +00:00
|
|
|
<write-all>false</write-all>
|
2001-06-05 20:14:56 +00:00
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="259">
|
2001-06-01 17:02:31 +00:00
|
|
|
<name>F3</name>
|
|
|
|
<desc>Capture screen.</desc>
|
|
|
|
<binding>
|
2007-06-07 16:59:07 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
fgcommand("screen-capture");
|
|
|
|
var file = getprop("/sim/last-screenshot");
|
|
|
|
if(file == "")
|
|
|
|
gui.popupTip("Error writing screenshot");
|
|
|
|
else
|
|
|
|
gui.popupTip("Screenshot written to " ~ file);
|
|
|
|
</script>
|
2001-06-01 17:02:31 +00:00
|
|
|
</binding>
|
2001-06-05 20:14:56 +00:00
|
|
|
<mod-shift>
|
2005-06-23 14:01:58 +00:00
|
|
|
<desc>Load panel.</desc>
|
2001-06-05 20:14:56 +00:00
|
|
|
<binding>
|
|
|
|
<command>panel-load</command>
|
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
|
|
|
</key>
|
|
|
|
|
|
|
|
<key n="260">
|
|
|
|
<name>F4</name>
|
2005-06-23 14:01:58 +00:00
|
|
|
<desc>Force lighting update.</desc>
|
2001-07-03 23:38:15 +00:00
|
|
|
<binding>
|
|
|
|
<command>lighting-update</command>
|
|
|
|
</binding>
|
2001-06-05 20:14:56 +00:00
|
|
|
<mod-shift>
|
2005-06-23 14:01:58 +00:00
|
|
|
<desc>Reload global preferences.</desc>
|
2001-06-05 20:14:56 +00:00
|
|
|
<binding>
|
|
|
|
<command>preferences-load</command>
|
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
|
|
|
</key>
|
|
|
|
|
|
|
|
<key n="261">
|
|
|
|
<name>F5</name>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-06-05 20:14:56 +00:00
|
|
|
<mod-shift>
|
2005-06-23 14:01:58 +00:00
|
|
|
<desc>Scroll panel down</desc>
|
2001-06-05 20:14:56 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/sim/panel/y-offset</property>
|
|
|
|
<step type="int">-5</step>
|
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
|
|
|
</key>
|
|
|
|
|
|
|
|
<key n="262">
|
|
|
|
<name>F6</name>
|
2005-06-23 14:01:58 +00:00
|
|
|
<desc>Toggle Autopilot Heading Mode</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2004-04-05 18:55:33 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
2007-08-01 08:20:21 +00:00
|
|
|
var prop = "/autopilot/locks/heading";
|
|
|
|
var curr = getprop(prop);
|
2004-04-05 18:55:33 +00:00
|
|
|
if(curr == "true-heading-hold") { setprop(prop, ""); }
|
|
|
|
else { setprop(prop, "true-heading-hold"); }
|
|
|
|
</script>
|
|
|
|
</binding>
|
2001-06-05 20:14:56 +00:00
|
|
|
<mod-shift>
|
2005-06-23 14:01:58 +00:00
|
|
|
<desc>Scroll panel up</desc>
|
2001-06-05 20:14:56 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/sim/panel/y-offset</property>
|
|
|
|
<step type="int">5</step>
|
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
|
|
|
</key>
|
|
|
|
|
|
|
|
<key n="263">
|
|
|
|
<name>F7</name>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-06-05 20:14:56 +00:00
|
|
|
<mod-shift>
|
2005-06-23 14:01:58 +00:00
|
|
|
<desc>Scroll panel left</desc>
|
2001-06-05 20:14:56 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/sim/panel/x-offset</property>
|
|
|
|
<step type="int">-5</step>
|
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
|
|
|
</key>
|
|
|
|
|
|
|
|
<key n="264">
|
|
|
|
<name>F8</name>
|
2005-06-23 14:01:58 +00:00
|
|
|
<desc>Cycle fog type</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2003-01-18 22:04:50 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-cycle</command>
|
|
|
|
<property>/sim/rendering/fog</property>
|
|
|
|
<value>fastest</value>
|
|
|
|
<value>nicest</value>
|
|
|
|
<value>disabled</value>
|
|
|
|
</binding>
|
2001-06-05 20:14:56 +00:00
|
|
|
<mod-shift>
|
2005-06-23 14:01:58 +00:00
|
|
|
<desc>Scroll panel right</desc>
|
2001-06-05 20:14:56 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/sim/panel/x-offset</property>
|
|
|
|
<step type="int">5</step>
|
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
2001-06-01 17:02:31 +00:00
|
|
|
</key>
|
|
|
|
|
2001-07-03 23:38:15 +00:00
|
|
|
<key n="265">
|
|
|
|
<name>F9</name>
|
2005-06-23 14:01:58 +00:00
|
|
|
<desc>Toggle textures.</desc>
|
2001-07-03 23:38:15 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-toggle</command>
|
|
|
|
<property>/sim/rendering/textures</property>
|
|
|
|
</binding>
|
2005-07-13 11:14:07 +00:00
|
|
|
<mod-shift>
|
|
|
|
<desc>Toggle FDM data logging.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-toggle</command>
|
|
|
|
<property>/sim/temp/fdm-data-logging</property>
|
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
2001-07-03 23:38:15 +00:00
|
|
|
</key>
|
|
|
|
|
2001-07-16 03:20:50 +00:00
|
|
|
<key n="266">
|
|
|
|
<name>F10</name>
|
2005-06-23 14:01:58 +00:00
|
|
|
<desc>Toggle menubar</desc>
|
2003-01-18 22:04:50 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-toggle</command>
|
|
|
|
<property>/sim/menubar/visibility</property>
|
|
|
|
</binding>
|
2001-07-16 03:20:50 +00:00
|
|
|
<mod-shift>
|
2005-07-13 11:14:07 +00:00
|
|
|
<desc>Switch to next GUI style.</desc>
|
2001-07-16 03:20:50 +00:00
|
|
|
<binding>
|
2005-07-13 11:14:07 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>gui.nextStyle()</script>
|
2001-07-16 03:20:50 +00:00
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
|
|
|
</key>
|
|
|
|
|
2003-01-18 22:04:50 +00:00
|
|
|
<key n="267">
|
|
|
|
<name>F11</name>
|
2005-06-23 14:01:58 +00:00
|
|
|
<desc>Pop up autopilot dialog</desc>
|
2003-01-18 22:04:50 +00:00
|
|
|
<binding>
|
|
|
|
<command>dialog-show</command>
|
|
|
|
<dialog-name>autopilot</dialog-name>
|
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="269">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>Enter</name>
|
2004-01-31 19:55:13 +00:00
|
|
|
<desc>Move rudder right.</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-05-23 22:00:34 +00:00
|
|
|
<binding>
|
2001-06-01 17:02:31 +00:00
|
|
|
<command>property-adjust</command>
|
2004-01-31 19:55:13 +00:00
|
|
|
<property>/controls/flight/rudder</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
<step type="double">0.05</step>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="309">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>Keypad 5</name>
|
|
|
|
<desc>Center aileron, elevator, and rudder.</desc>
|
|
|
|
<binding>
|
2003-12-22 20:05:18 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.centerFlightControls()</script>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="356">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>Left</name>
|
2004-01-31 19:55:13 +00:00
|
|
|
<desc>Move aileron left (or adjust AP heading.)</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-05-23 22:00:34 +00:00
|
|
|
<binding>
|
2004-01-31 19:55:13 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
controls.incAileron(-0.05, -1.0)
|
|
|
|
</script>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
2001-06-04 19:48:08 +00:00
|
|
|
<mod-shift>
|
|
|
|
<desc>Look left.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2002-04-18 15:29:38 +00:00
|
|
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
2004-06-24 14:45:48 +00:00
|
|
|
<property>/sim/view/config/left-direction-deg</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
2001-05-23 22:00:34 +00:00
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="357">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>Up</name>
|
2001-05-29 20:14:01 +00:00
|
|
|
<desc>Increase elevator or autopilot altitude.</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-05-23 22:00:34 +00:00
|
|
|
<binding>
|
2004-01-31 19:55:13 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
controls.incElevator(0.05, -100)
|
|
|
|
</script>
|
2001-06-01 17:02:31 +00:00
|
|
|
</binding>
|
2001-06-04 19:48:08 +00:00
|
|
|
<mod-shift>
|
|
|
|
<desc>Look forward.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2002-04-18 15:29:38 +00:00
|
|
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
2004-06-24 14:45:48 +00:00
|
|
|
<property>/sim/view/config/front-direction-deg</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
2001-06-01 17:02:31 +00:00
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="358">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>Right</name>
|
2004-01-31 19:55:13 +00:00
|
|
|
<desc>Move aileron right (or adjust AP heading.)</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-05-23 22:00:34 +00:00
|
|
|
<binding>
|
2004-01-31 19:55:13 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
controls.incAileron(0.05, 1.0)
|
|
|
|
</script>
|
2001-06-04 19:48:08 +00:00
|
|
|
<step type="double">0.05</step>
|
2001-06-01 17:02:31 +00:00
|
|
|
</binding>
|
2001-06-04 19:48:08 +00:00
|
|
|
<mod-shift>
|
|
|
|
<desc>Look right.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2002-04-18 15:29:38 +00:00
|
|
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
2004-06-24 14:45:48 +00:00
|
|
|
<property>/sim/view/config/right-direction-deg</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
2001-06-01 17:02:31 +00:00
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="359">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>Down</name>
|
2001-05-29 20:14:01 +00:00
|
|
|
<desc>Decrease elevator or autopilot altitude.</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-05-23 22:00:34 +00:00
|
|
|
<binding>
|
2004-01-31 19:55:13 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
controls.incElevator(-0.05, 100)
|
|
|
|
</script>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
2001-06-04 19:48:08 +00:00
|
|
|
<mod-shift>
|
|
|
|
<desc>Look backwards.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2002-04-18 15:29:38 +00:00
|
|
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
2004-06-24 14:45:48 +00:00
|
|
|
<property>/sim/view/config/back-direction-deg</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
2001-05-23 22:00:34 +00:00
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="360">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>PageUp</name>
|
2001-05-29 20:14:01 +00:00
|
|
|
<desc>Increase throttle or autopilot autothrottle.</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-05-23 22:00:34 +00:00
|
|
|
<binding>
|
2004-01-31 19:55:13 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
controls.incThrottle(0.01, 1.0)
|
|
|
|
</script>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
2001-06-04 19:48:08 +00:00
|
|
|
<mod-shift>
|
|
|
|
<desc>Look front right.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2002-04-18 15:29:38 +00:00
|
|
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
2004-06-24 14:45:48 +00:00
|
|
|
<property>/sim/view/config/front-right-direction-deg</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
2001-05-23 22:00:34 +00:00
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="361">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>PageDown</name>
|
2001-05-29 20:14:01 +00:00
|
|
|
<desc>Decrease throttle or autopilot autothrottle.</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-05-23 22:00:34 +00:00
|
|
|
<binding>
|
2004-01-31 19:55:13 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
controls.incThrottle(-0.01, -1.0)
|
|
|
|
</script>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
2001-06-04 19:48:08 +00:00
|
|
|
<mod-shift>
|
|
|
|
<desc>Look back right.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2002-04-18 15:29:38 +00:00
|
|
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
2004-06-24 14:45:48 +00:00
|
|
|
<property>/sim/view/config/back-right-direction-deg</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
2001-05-23 22:00:34 +00:00
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="362">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>Home</name>
|
|
|
|
<desc>Increase elevator trim.</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-05-23 22:00:34 +00:00
|
|
|
<binding>
|
2001-06-01 17:02:31 +00:00
|
|
|
<command>property-adjust</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/flight/elevator-trim</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
<step type="double">0.001</step>
|
2001-06-01 17:02:31 +00:00
|
|
|
</binding>
|
2001-06-04 19:48:08 +00:00
|
|
|
<mod-shift>
|
|
|
|
<desc>Look front left.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2002-04-18 15:29:38 +00:00
|
|
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
2004-06-24 14:45:48 +00:00
|
|
|
<property>/sim/view/config/front-left-direction-deg</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
2001-06-01 17:02:31 +00:00
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="363">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>End</name>
|
|
|
|
<desc>Decrease elevator trim.</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-05-23 22:00:34 +00:00
|
|
|
<binding>
|
2001-06-01 17:02:31 +00:00
|
|
|
<command>property-adjust</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/flight/elevator-trim</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
<step type="double">-0.001</step>
|
2001-06-01 17:02:31 +00:00
|
|
|
</binding>
|
2001-06-04 19:48:08 +00:00
|
|
|
<mod-shift>
|
|
|
|
<desc>Look back left.</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2002-04-18 15:29:38 +00:00
|
|
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
2004-06-24 14:45:48 +00:00
|
|
|
<property>/sim/view/config/back-left-direction-deg</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
</binding>
|
|
|
|
</mod-shift>
|
2001-06-01 17:02:31 +00:00
|
|
|
</key>
|
|
|
|
|
2001-06-04 19:48:08 +00:00
|
|
|
<key n="364">
|
2001-05-23 22:00:34 +00:00
|
|
|
<name>Insert</name>
|
2004-01-31 19:55:13 +00:00
|
|
|
<desc>Move rudder left.</desc>
|
2005-06-27 07:16:09 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2001-05-23 22:00:34 +00:00
|
|
|
<binding>
|
2001-06-01 17:02:31 +00:00
|
|
|
<command>property-adjust</command>
|
2004-01-31 19:55:13 +00:00
|
|
|
<property>/controls/flight/rudder</property>
|
2001-06-04 19:48:08 +00:00
|
|
|
<step type="double">-0.05</step>
|
2001-05-23 22:00:34 +00:00
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
|
|
|
|
</PropertyList>
|
|
|
|
|
|
|
|
<!-- end of keyboard.xml -->
|