In /Input/Joysticks , I created a folder named "Bodnar". In that folder goes this file named BU0836.xml
- Code: Select all
<?xml version="1.0"?>
<PropertyList>
<name type="string">Leo Bodnar Electronics BU0836 Interface</name>
<axis>
<desc type="string">Aileron</desc>
<binding>
<command type="string">property-scale</command>
<property type="string">/controls/flight/aileron</property>
<factor type="double">1</factor>
<offset type="double">0</offset>
</binding>
</axis>
<axis n="1">
<desc type="string">Elevator</desc>
<binding>
<command type="string">property-scale</command>
<property type="string">/controls/flight/elevator</property>
<factor type="double">1</factor>
<offset type="double">0</offset>
</binding>
</axis>
<axis n="2">
<desc type="string">Axis 2</desc>
<binding>
<command type="string">property-scale</command>
<property type="string"></property>
<setting type="double">0</setting>
</binding>
<low>
<binding>
</binding>
</low>
</axis>
<axis n="3">
<desc type="string">Axis 3</desc>
<binding>
<command type="string">property-scale</command>
<property type="string"></property>
<setting type="double">0</setting>
</binding>
<low>
<binding>
</binding>
</low>
</axis>
<axis n="4">
<desc type="string">Axis 4</desc>
<binding>
<command type="string">property-scale</command>
<property type="string"></property>
</binding>
<low>
<binding>
</binding>
</low>
</axis>
<axis n="5">
<desc type="string">Axis 5</desc>
<binding>
<command type="string">property-scale</command>
<property type="string"></property>
</binding>
<low>
<binding>
</binding>
</low>
</axis>
<axis n="6">
<desc type="string">Axis 6</desc>
<binding>
<command type="string">property-scale</command>
<property type="string"></property>
</binding>
<low>
<binding>
</binding>
</low>
</axis>
<axis n="7">
<desc type="string">Axis 7</desc>
<binding>
<command type="string">property-scale</command>
<property type="string"></property>
</binding>
<low>
<binding>
</binding>
</low>
</axis>
<button>
<desc type="string">View Cycle Forwards</desc>
<binding>
<command type="string">nasal</command>
<script type="string">view.stepView(1);</script>
</binding>
<repeatable type="double">0</repeatable>
</button>
<button n="1">
<desc type="string">Custom</desc>
<binding>
<command type="string">nasal</command>
<script type="string">setprop("/controls/lighting/flight-comp", 1);</script>
</binding>
<mod-up>
<binding>
<command type="string">nasal</command>
<script type="string">setprop("/controls/lighting/flight-comp", 0);</script>
</binding>
</mod-up>
</button>
<button n="2">
<desc type="string">Custom</desc>
<binding>
<command type="string">property-toggle</command>
<property type="string">/controls/lighting/flight-comp</property>
</binding>
<mod-up>
<binding>
</binding>
</mod-up>
</button>
<button n="3">
<desc type="string">Custom</desc>
<binding>
<command type="string">nasal</command>
<script type="string"></script>
<module type="string">__js2</module>
</binding>
<mod-up>
<binding>
</binding>
</mod-up>
</button>
<button n="4">
<desc type="string">Custom</desc>
<binding>
<command type="string">nasal</command>
<script type="string"></script>
<module type="string">__js2</module>
</binding>
<mod-up>
<binding>
</binding>
</mod-up>
</button>
<button n="5">
<desc type="string">Custom</desc>
<binding>
<command type="string">nasal</command>
<script type="string"></script>
<module type="string">__js2</module>
</binding>
<mod-up>
<binding>
</binding>
</mod-up>
</button>
<button n="6">
<desc type="string">Custom</desc>
<binding>
<command type="string">nasal</command>
<script type="string"></script>
<module type="string">__js2</module>
</binding>
<mod-up>
<binding>
</binding>
</mod-up>
</button>
<button n="7">
<desc type="string">Custom</desc>
<binding>
<command type="string">nasal</command>
<script type="string"></script>
<module type="string">__js2</module>
</binding>
<mod-up>
<binding>
</binding>
</mod-up>
</button>
<button n="8">
<desc type="string">Custom</desc>
<binding>
<command type="string">nasal</command>
<script type="string"></script>
<module type="string">__js2</module>
</binding>
<mod-up>
<binding>
</binding>
</mod-up>
</button>
<button n="9">
<desc type="string">Custom</desc>
<binding>
<command type="string">nasal</command>
<script type="string"></script>
<module type="string">__js2</module>
</binding>
<mod-up>
<binding>
</binding>
</mod-up>
</button>
<button n="10">
<desc type="string">Custom</desc>
<binding>
<command type="string">nasal</command>
<script type="string"></script>
<module type="string">__js2</module>
</binding>
<mod-up>
<binding>
</binding>
</mod-up>
</button>
<button n="11">
<desc type="string">Custom</desc>
<binding>
<command type="string">nasal</command>
<script type="string"></script>
<module type="string">__js2</module>
</binding>
<mod-up>
<binding>
</binding>
</mod-up>
</button>
</PropertyList>