User:Texnicer/devblog: Difference between revisions

Jump to navigation Jump to search
m
 
Line 1: Line 1:
== Joysticks ==
== Joysticks ==
== Cessna Flight Yoke ==
=== Cessna Flight Yoke ===
=== PTT (Push-to-talk) button for Mumble ===
 
==== Basic configuration ====
 
The default comes with: Elevator trim inverted; PTT in mumble not working;
Rudder trim, instead of Aileron trim for the right thumb W-E button.
 
<syntaxhighlight lang="xml">
 
  <!-- Right hand vertical two-way switch -->
    <button n="4">
<name>Right vertical rocker switch up</name>
        <desc>Elevator trim up</desc>
        <repeatable>true</repeatable>
        <binding>
            <command>nasal</command>
            <script>controls.elevatorTrim(1)</script>
        </binding>
    </button>
    <button n="5">
<name>Right vertical rocker switch down</name>
        <desc>Elevator trim down</desc>
        <repeatable>true</repeatable>
        <binding>
            <command>nasal</command>
            <script>controls.elevatorTrim(-1)</script>
        </binding>
    </button>
 
    <!-- Right hand horizontal two-way switch -->
    <button n="6">
<name>Right horizontal rocker switch right</name>
        <desc>Rudder trim right</desc>
        <repeatable>true</repeatable>
        <binding>
            <command>nasal</command>
            <script>controls.rudderTrim(-1)</script>
        </binding>
    </button>
    <button n="7">
<name>Right horizontal rocker switch left</name>
        <desc>Rudder trim left</desc>
        <repeatable>true</repeatable>
        <binding>
            <command>nasal</command>
            <script>controls.rudderTrim(1)</script>
        </binding>
    </button>
</syntaxhighlight>
 
'''Also remarkable: the three mode stages implemented as sensivity low/medium/high for the view-coolie hat'''
<syntaxhighlight lang="xml">
    <button n="22">
<name>Yoke mode switch left</name>
        <desc>Coolie hat sensitivity low</desc>
        <repeatable type="bool">false</repeatable>
        <binding>
            <command>property-assign</command>
            <property>/devices/status/yoke/offset</property>
            <value>1</value>
        </binding>
    </button>
    <button n="23">
<name>Yoke mode switch middle</name>
        <desc>Coolie hat sensitivity medium</desc>
        <repeatable type="bool">false</repeatable>
        <binding>
            <command>property-assign</command>
            <property>/devices/status/yoke/offset</property>
            <value>5</value>
        </binding>
    </button>
    <button n="24">
        <name>Yoke mode switch right</name>
        <desc>Coolie hat sensitivity high</desc>
        <repeatable type="bool">false</repeatable>
        <binding>
            <command>property-assign</command>
            <property>/devices/status/yoke/offset</property>
            <value>10</value>
        </binding>
    </button>
</syntaxhighlight>
 
==== PTT (Push-to-talk) button for Mumble ====
inspired, partly taken from:  [[Mumble]]
inspired, partly taken from:  [[Mumble]]


114

edits

Navigation menu