1
0
Fork 0

Input config for SimJabs single yoke

This commit is contained in:
James Turner 2018-04-29 23:15:58 +01:00
parent 1c96f4ec7a
commit 4d402914b1
2 changed files with 115 additions and 0 deletions

View file

@ -0,0 +1,42 @@
<PropertyList>
<name>DISABLED Leo Bodnar BU0836A Interface</name>
<debug-events type="bool">false</debug-events>
<event>
<desc>Aileron</desc>
<name>abs-x-rotate</name>
<binding>
<command>property-scale</command>
<property>/controls/flight/aileron</property>
<offset>-1.0</offset>
<factor>-1.0</factor>
</binding>
</event>
<event>
<desc>Elevator</desc>
<name>abs-y-rotate</name>
<binding>
<command>property-scale</command>
<property>/controls/flight/elevator</property>
<offset>-1.0</offset>
<factor>-1.0</factor>
</binding>
</event>
<!--
<event>
<desc>Rudder</desc>
<name>abs-z-translate</name>
<binding>
<command>property-scale</command>
<property>/controls/flight/rudder</property>
<offset>-0.5</offset>
<factor>-2.0</factor>
<power type="double">1.0</power>
</binding>
</event>
-->
</PropertyList>

View file

@ -0,0 +1,73 @@
<?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 -->