A3XX: Various OH improvements

This commit is contained in:
Joshua Davidson 2017-09-11 11:33:01 -04:00
parent 9982b58e7d
commit 8dce715199
4 changed files with 28 additions and 7 deletions

View file

@ -719,13 +719,12 @@
</systems>
<options n="0">
<pfd n="0">
<sidestick-pos userarchive="y" type="bool">0</sidestick-pos>
</pfd>
<system n="0">
<keyboard-mode userarchive="y" type="bool">0</keyboard-mode>
</system>
<old-gpws type="bool">0</old-gpws>
<steep-ils type="bool">0</steep-ils>
<steep-ils-avail type="bool">0</steep-ils-avail>
<test-canvas type="bool">0</test-canvas> <!-- Enables WIP Canvas Stuff -->
<enable-ecam-actions>0</enable-ecam-actions>
</options>

View file

@ -118,7 +118,7 @@ setlistener("/sim/signals/fdm-initialized", func {
});
var saveSettings = func {
aircraft.data.add("/options/pfd/sidestick-pos", "/controls/adirs/skip");
aircraft.data.add("/options/system/keyboard-mode", "/controls/adirs/skip");
aircraft.data.save();
}

View file

@ -345,9 +345,31 @@
<live>true</live>
</checkbox>
<hrule/>
<checkbox>
<label>Keyboard Mode (See Aircraft Help)</label>
<halign>left</halign>
<enable>
<property>/systems/acconfig/unused</property>
</enable>
<property>/options/system/keyboard-mode</property>
<binding>
<command>property-toggle</command>
<property>/options/system/keyboard-mode</property>
</binding>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>nasal</command>
<script>
acconfig.saveSettings();
</script>
</binding>
<live>true</live>
</checkbox>
<checkbox>
<label>Skip ADIRS Alignment</label>
<halign>left</halign>

View file

@ -1 +1 @@
1476
1477