123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- <?xml version="1.0" encoding="ISO-8859-1"?>
- <PropertyList>
-
-
- <key n="100">
- <name>d</name>
- <desc>Close pilot door</desc>
- <binding>
- <command>nasal</command>
- <script>
- setprop("/instrumentation/doors/Rcrew/position-norm",0);
- </script>
- </binding>
- </key>
- <key n="82">
- <name>R</name>
- <desc>Toggle rotor brake</desc>
- <binding>
- <command>nasal</command>
- <script>
- var p = "/controls/rotor/brake";
- setprop(p, !getprop(p));
- </script>
- </binding>
- </key>
- <key n="114">
- <name>r</name>
- <desc>Apply rotor brake</desc>
- <binding>
- <command>nasal</command>
- <script>interpolate("/controls/rotor/brake", 1.0, 2)</script>
- </binding>
- <mod-up>
- <binding>
- <command>nasal</command>
- <script>interpolate("/controls/rotor/brake", 0.0, 2)</script>
- </binding>
- </mod-up>
- </key>
-
- <key n="105">
- <name>i</name>
- <desc>Toggle ignition switch</desc>
- <binding>
- <command>nasal</command>
- <script>
- foreach (var e; controls.engines) {
- if (e.selected.getValue()) {
- var i = e.controls.getNode("ignition", 1);
- i.setValue(!i.getValue());
- }
- }
- </script>
- </binding>
- </key>
- <key n="123">
- <name>{</name>
- <desc>Shutdown Engines</desc>
- <binding>
- <command>nasal</command>
- <script>bo105.shutdown()</script>
- <condition>
- <property>/sim/signals/fdm-initialized</property>
- </condition>
- </binding>
- </key>
- <key n="125">
- <name>}</name>
- <desc>Start Engines</desc>
- <binding>
- <command>nasal</command>
- <script>bo105.startup()</script>
- <condition>
- <property>/sim/signals/fdm-initialized</property>
- </condition>
- </binding>
- </key>
- </PropertyList>
|