1
0
Fork 0

Minor updates to CH Products config

This commit is contained in:
Stuart Buchanan 2019-01-06 20:15:24 +00:00
parent 14ad6bb9f9
commit 489772158b
2 changed files with 8 additions and 8 deletions

View file

@ -143,9 +143,9 @@
<command>nasal</command>
<script>
setprop("/sim/current-view/view-number", 0);
setprop("/sim/current-view/goal-pitch-offset-deg", getprop("/sim/view[0]/config/pitch-offset-deg"));
setprop("/sim/current-view/goal-pitch-offset-deg", getprop("/sim/view[0]/config/pitch-offset-deg") or 0);
setprop("/sim/current-view/goal-heading-offset-deg", 0.0);
#setprop("/sim/current-view/field-of-view", getprop("/sim/view/config/default-field-of-view-deg"));
#setprop("/sim/current-view/field-of-view", getprop("/sim/view/config/default-field-of-view-deg") or 60.0);
</script>
</binding>
</button>

View file

@ -17,7 +17,7 @@
<desc type="string">Throttle 1</desc>
<binding>
<command type="string">nasal</command>
<script type="string">controls.perEngineSelectedAxisHandler(0)([0]);</script>
<script type="string">controls.perEngineSelectedAxisHandler(0)(0);</script>
</binding>
</axis>
<axis>
@ -30,7 +30,7 @@
<desc type="string">Throttle 2</desc>
<binding>
<command type="string">nasal</command>
<script type="string">controls.perEngineSelectedAxisHandler(0)([1]);</script>
<script type="string">controls.perEngineSelectedAxisHandler(0)(1);</script>
</binding>
</axis>
<axis>
@ -43,7 +43,7 @@
<desc type="string">Mixture 1</desc>
<binding>
<command type="string">nasal</command>
<script type="string">controls.perEngineSelectedAxisHandler(2)([0]);</script>
<script type="string">controls.perEngineSelectedAxisHandler(2)(0);</script>
</binding>
</axis>
<axis>
@ -56,7 +56,7 @@
<desc type="string">Mixture 2</desc>
<binding>
<command type="string">nasal</command>
<script type="string">controls.perEngineSelectedAxisHandler(2)([1]);</script>
<script type="string">controls.perEngineSelectedAxisHandler(2)(1);</script>
</binding>
</axis>
<axis>
@ -69,7 +69,7 @@
<desc type="string">Propeller 1</desc>
<binding>
<command type="string">nasal</command>
<script type="string">controls.perEngineSelectedAxisHandler(1)([0]);</script>
<script type="string">controls.perEngineSelectedAxisHandler(1)(0);</script>
</binding>
</axis>
<axis>
@ -82,7 +82,7 @@
<desc type="string">Propeller 2</desc>
<binding>
<command type="string">nasal</command>
<script type="string">controls.perEngineSelectedAxisHandler(1)([1]);</script>
<script type="string">controls.perEngineSelectedAxisHandler(1)(1);</script>
</binding>
</axis>
<button>