320
edits
Line 175: | Line 175: | ||
{{not done}} | {{not done}} | ||
The Honeycomb Aeronautical Alpha Flight Controls yoke is a quality flight yoke that works with the Raspberry Pi and FlightGear. The buttons on the yoke are standard normally open, where as the base buttons are normally closed double throw and one five position rotary. | The Honeycomb Aeronautical Alpha Flight Controls yoke is a quality flight yoke that works with the Raspberry Pi and FlightGear. The buttons on the yoke are standard normally open, where as the base buttons are normally closed double throw and one five position rotary. The base buttons are odd in that they use two USB Buttons per button. However it might be possible to hack the yoke in order to add nine more buttons. | ||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
Line 181: | Line 181: | ||
<!-- | <!-- | ||
********************************************************** | |||
* Bindings for Honeycomb Aeronautical Alpha Flight Controls - Yoke | * Bindings for Honeycomb Aeronautical Alpha Flight Controls - Yoke | ||
* | * | ||
Line 190: | Line 190: | ||
* | * | ||
* Button 0: YOKE white-Trigger left-handle | * Button 0: YOKE white-Trigger left-handle | ||
* Button 1: YOKE white-top- | * Button 1: YOKE white-top-Bottom left-handle | ||
* Button 2: YOKE white-top- | * Button 2: YOKE white-top-Bottom right-handle | ||
* Button 3: YOKE red-top- | * Button 3: YOKE red-top-Bottom right-handle | ||
* Button 4: YOKE outer-Rocker down left-handle | * Button 4: YOKE outer-Rocker down left-handle | ||
* Button 5: YOKE outer-Rocker up left-handle | * Button 5: YOKE outer-Rocker up left-handle | ||
Line 214: | Line 214: | ||
* Button 23: BASE Land down | * Button 23: BASE Land down | ||
* Button 24: BASE Taxi up | * Button 24: BASE Taxi up | ||
* Button 25: | * Button 25: BASE Taxi down | ||
* Button 26: BASE Nav up | * Button 26: BASE Nav up | ||
* Button 27: Base Nav down | * Button 27: Base Nav down | ||
Line 224: | Line 224: | ||
* Button 33: BASE Both Mag | * Button 33: BASE Both Mag | ||
* Button 34: BASE Start | * Button 34: BASE Start | ||
********************************************************** | |||
--> | --> | ||
<PropertyList> | <PropertyList> | ||
<name type="string">Honeycomb Aeronautical Alpha Flight Controls</name> | <name type="string">Honeycomb Aeronautical Alpha Flight Controls</name> | ||
<axis> | <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> | ||
<axis n="1"> | <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> | ||
<axis n="2"> | <axis n="2"> | ||
<desc type="string">View Direction</desc> | |||
<direction type="string">left</direction> | |||
<low> | |||
<repeatable type="string">true</repeatable> | |||
<binding> | |||
<command type="string">nasal</command> | |||
<script type="string">view.panViewDir(1)</script> | |||
<module type="string">__js1</module> | |||
<offset type="double">1</offset> | |||
</binding> | |||
</low> | |||
<high> | |||
<repeatable type="string">true</repeatable> | |||
<binding> | |||
<command type="string">nasal</command> | |||
<script type="string">view.panViewDir(-1)</script> | |||
<module type="string">__js1</module> | |||
<offset type="double">1</offset> | |||
</binding> | |||
</high> | |||
</axis> | </axis> | ||
<axis n="3"> | <axis n="3"> | ||
<desc type="string">View Elevation</desc> | |||
<direction type="string">upward</direction> | |||
<low> | |||
<repeatable type="string">true</repeatable> | |||
<binding> | |||
<command type="string">nasal</command> | |||
<script type="string">view.panViewPitch(1)</script> | |||
<module type="string">__js1</module> | |||
<offset type="double">1</offset> | |||
</binding> | |||
</low> | |||
<high> | |||
<repeatable type="string">true</repeatable> | |||
<binding> | |||
<command type="string">nasal</command> | |||
<script type="string">view.panViewPitch(-1)</script> | |||
<module type="string">__js1</module> | |||
<offset type="double">1</offset> | |||
</binding> | |||
</high> | |||
</axis> | </axis> | ||
<button> | <button> | ||
<desc type="string">View Cycle Forwards</desc> | |||
<binding> | <binding> | ||
<command type="string">nasal</command> | |||
<script type="string">view.stepView(1);</script> | |||
</binding> | </binding> | ||
<repeatable type="double">0</repeatable> | |||
</button> | </button> | ||
<button n=" | |||
<button n="3"> | |||
<desc type="string">Gear Toggle</desc> | |||
<binding> | |||
<command type="string">nasal</command> | |||
<script type="string">controls.gearTogglePosition(1);</script> | |||
</binding> | |||
<repeatable type="double">0</repeatable> | |||
</button> | </button> | ||
<button n="4"> | <button n="4"> | ||
<desc type="string">Elevator Trim Up</desc> | |||
<binding> | |||
<command type="string">nasal</command> | |||
<script type="string">controls.elevatorTrim(-1);</script> | |||
</binding> | |||
<repeatable type="double">1</repeatable> | |||
</button> | </button> | ||
<button n="5"> | <button n="5"> | ||
<desc type="string">Elevator Trim Down</desc> | |||
<binding> | |||
<command type="string">nasal</command> | |||
<script type="string">controls.elevatorTrim(1);</script> | |||
</binding> | |||
<repeatable type="double">1</repeatable> | |||
</button> | </button> | ||
<button n="6"> | <button n="6"> | ||
<desc type="string">Flaps Down</desc> | |||
<binding> | |||
<command type="string">nasal</command> | |||
<script type="string">controls.flapsDown(1);</script> | |||
</binding> | |||
<repeatable type="double">0</repeatable> | |||
</button> | </button> | ||
<button n="7"> | <button n="7"> | ||
<desc type="string">Flaps Up</desc> | |||
<binding> | |||
<command type="string">nasal</command> | |||
<script type="string">controls.flapsDown(-1);</script> | |||
</binding> | |||
<repeatable type="double">0</repeatable> | |||
</button> | </button> | ||
<button n="8"> | <button n="8"> | ||
<desc type="string">Rudder Trim Left</desc> | |||
<binding> | |||
<command type="string">nasal</command> | |||
<script type="string">controls.rudderTrim(-1);</script> | |||
</binding> | |||
<repeatable type="double">1</repeatable> | |||
</button> | </button> | ||
<button n="9"> | <button n="9"> | ||
<desc type="string">Rudder Trim Right</desc> | |||
<binding> | |||
<command type="string">nasal</command> | |||
<script type="string">controls.rudderTrim(1);</script> | |||
</binding> | |||
<repeatable type="double">1</repeatable> | |||
</button> | </button> | ||
<button n="10"> | <button n="10"> | ||
<desc type="string">Aileron Trim Left</desc> | |||
<binding> | |||
<command type="string">nasal</command> | |||
<script type="string">controls.aileronTrim(-1);</script> | |||
</binding> | |||
<repeatable type="double">1</repeatable> | |||
</button> | </button> | ||
<button n="11"> | <button n="11"> | ||
<desc type="string">Aileron Trim Right</desc> | |||
<binding> | |||
<command type="string">nasal</command> | |||
<script type="string">controls.aileronTrim(1);</script> | |||
</binding> | |||
<repeatable type="double">1</repeatable> | |||
</button> | |||
<button n="14"> | |||
<desc type="string">Battery ON OFF</desc> | |||
<binding> | |||
<command type="string">nasal</command> | |||
<script type="string">setprop("/controls/electric/battery-switch", 1);</script> | |||
</binding> | |||
<mod-up> | |||
<binding> | |||
<command type="string">nasal</command> | |||
<script type="string">setprop("/controls/electric/battery-switch", 0);</script> | |||
</binding> | |||
</mod-up> | |||
<repeatable type="double">0</repeatable> | |||
</button> | |||
<button n="24"> | |||
<desc type="string">Tail Wheel Lock ON OFF</desc> | |||
<binding> | |||
<command type="string">nasal</command> | |||
<script type="string">setprop("/controls/gear/tailwheel-lock-pos", 1);</script> | |||
</binding> | |||
<mod-up> | |||
<binding> | |||
<command type="string">nasal</command> | |||
<script type="string">setprop("/controls/gear/tailwheel-lock-pos", 0);</script> | |||
</binding> | |||
</mod-up> | |||
<repeatable type="double">0</repeatable> | |||
</button> | </button> | ||
</PropertyList> | </PropertyList> |
edits