1
0
Fork 0
fgdata/Input/Joysticks/SimuJabs/Single737Yoke.xml

74 lines
1.5 KiB
XML
Raw Normal View History

2018-04-29 22:15:58 +00:00
<?xml version="1.0" ?>
<PropertyList>
<name type="string">Leo Bodnar BU0836A Interface</name>
<!-- Joystick Configuration Template -->
<axis n="0">
<desc>Aileron</desc>
<direction>right</direction>
<binding>
<command>property-scale</command>
<property>/controls/flight/aileron</property>
<offset type="double">0.0</offset>
<factor type="double">2.0</factor>
<power type="int">1</power>
</binding>
</axis>
<axis n="1">
<desc>Elevator</desc>
<direction>down/forward</direction>
<binding>
<command>property-scale</command>
<property>/controls/flight/elevator</property>
<factor type="double">-1.4</factor>
<power type="int">1</power>
</binding>
</axis>
<button n="0">
<desc>Elevator Trim Forward</desc>
<repeatable>true</repeatable>
<binding>
<command>nasal</command>
<script>print('yoke side button');</script>
</binding>
</button>
<button n="1">
<desc>PTT</desc>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>print('implement PTT');</script>
</binding>
</button>
<button n="2">
<desc>Elevator Trim Forward</desc>
<repeatable>true</repeatable>
<binding>
<command>nasal</command>
<script>controls.elevatorTrim(0.75)</script>
</binding>
</button>
<button n="3">
<desc>Elevator Trim Backward</desc>
<repeatable>true</repeatable>
<binding>
<command>nasal</command>
<script>controls.elevatorTrim(-0.75)</script>
</binding>
</button>
</PropertyList>
<!-- end of joystick.xml -->