1
0
Fork 0
fgdata/Aircraft/c172p/c172p-keyboard.xml

144 lines
4.1 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2011 Stuart Buchanan
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<PropertyList>
<key n="80">
<name>P</name>
<desc>Toggle panel</desc>
<binding>
<command>property-toggle</command>
<property>/sim/panel/visibility</property>
</binding>
<binding>
<command>property-assign</command>
<property>/sim/current-view/heading-offset-deg</property>
<value type="double">0.0</value>
</binding>
</key>
<key n="76">
<name>L</name>
<desc>Decrease Panel lighting</desc>
<repeatable type="bool">true</repeatable>
<binding>
<command>property-adjust</command>
<property>controls/lighting/instruments-norm</property>
<step>-0.1</step>
<min>0</min>
<max>1.0</max>
<wrap>0</wrap>
</binding>
</key>
<key n="108">
<name>l</name>
<desc>Increase Panel lighting</desc>
<repeatable type="bool">true</repeatable>
<binding>
<command>property-adjust</command>
<property>controls/lighting/instruments-norm</property>
<step>0.1</step>
<min>0</min>
<max>1.0</max>
<wrap>0</wrap>
</binding>
</key>
<key n="123">
<name>{</name>
<desc>Decrease Magneto on Selected Engine</desc>
<binding>
<command>property-adjust</command>
<property>/controls/switches/magnetos</property>
<step>-1</step>
<min>0</min>
<max>3</max>
</binding>
<binding>
<command>nasal</command>
<script>c172p.click("magneto-back")</script>
</binding>
</key>
<key n="125">
<name>}</name>
<desc>Increase Magneto on Selected Engine</desc>
<binding>
<command>property-adjust</command>
<property>/controls/switches/magnetos</property>
<step>1</step>
<min>0</min>
<max>3</max>
</binding>
<binding>
<command>nasal</command>
<script>c172p.click("magneto-forward")</script>
</binding>
</key>
<key n="114">
<name>r</name>
<desc>Water Rudders Up</desc>
<binding>
<command>property-assign</command>
<property>/controls/gear/water-rudder</property>
<value type="bool">false</value>
</binding>
</key>
<key n="82">
<name>R</name>
<desc>Water Rudders Down</desc>
<binding>
<command>property-assign</command>
<property>/controls/gear/water-rudder</property>
<value type="bool">true</value>
</binding>
</key>
<key n="66">
<name>Shift-B</name>
<desc>Parking Brakes</desc>
<binding>
<command>property-toggle</command>
<property>/sim/model/c172p/brake-parking</property>
</binding>
</key>
<key n="121">
<name>y</name>
<desc>Show/hide yokes</desc>
<binding>
<command>property-toggle</command>
<property>sim/model/hide-yoke</property>
</binding>
</key>
<key n="265">
<name>F9</name>
<desc>Popup Fuel and Payload Settings dialog</desc>
<binding>
<command>nasal</command>
<script>gui.showWeightDialog()</script>
</binding>
</key>
</PropertyList>