Flightgear config using buttons

Signed-off-by: fly <merspieler@alwaysdata.com>
This commit is contained in:
fly 2024-05-19 13:00:21 +02:00
parent aa7b7069d0
commit 04d8e5812e

View file

@ -22,4 +22,44 @@
<power type="double">1</power> <power type="double">1</power>
</binding> </binding>
</axis> </axis>
<button>
<desc type="string">Ext Power</desc>
<repeatable type="string">false</repeatable>
<binding>
<command type="string">property-toggle</command>
<property>/controls/electrical/switches/ext-pwr</property>
</binding>
</button>
<button n="1">
<desc type="string">ENG Master 1</desc>
<repeatable type="string">false</repeatable>
<binding>
<command>property-assign</command>
<property>controls/engines/engine[0]/cutoff-switch</property>
<value>0</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>controls/engines/engine[0]/cutoff-switch</property>
<value>1</value>
</binding>
</mod-up>
</button>
<button n="2">
<desc type="string">ENG Master 2</desc>
<repeatable type="string">false</repeatable>
<binding>
<command>property-assign</command>
<property>controls/engines/engine[1]/cutoff-switch</property>
<value>0</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>controls/engines/engine[1]/cutoff-switch</property>
<value>1</value>
</binding>
</mod-up>
</button>
</PropertyList> </PropertyList>