Yoke for FlightGear: Difference between revisions

Jump to navigation Jump to search
App version update
m (fix structure)
(App version update)
Line 7: Line 7:
| developedby        = iOS app by Sidi Liang, Android app by CHH2000Day
| developedby        = iOS app by Sidi Liang, Android app by CHH2000Day
| initialrelease      =  
| initialrelease      =  
| latestrelease      = iOS: 1.1.3; Android: 0.3.0
| latestrelease      = iOS: 1.1.4; Android: 0.3.0
| writtenin          = Swift, Objective-C, Java
| writtenin          = Swift, Objective-C, Java
| os                  = iOS, Android
| os                  = iOS, Android
Line 28: Line 28:
Save the code as from_fgyoke.xml, or download it from [https://github.com/sidi762/FGYoke-for-iOS/blob/master/from_fgyoke.xml here], then copy it to the 'Protocol' folder under the FGDATA. For Mac OS, it should be '/Applications/FlightGear.app/Contents/Resources/data/Protocol'.
Save the code as from_fgyoke.xml, or download it from [https://github.com/sidi762/FGYoke-for-iOS/blob/master/from_fgyoke.xml here], then copy it to the 'Protocol' folder under the FGDATA. For Mac OS, it should be '/Applications/FlightGear.app/Contents/Resources/data/Protocol'.
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<?xml version="1.0"?>
<?xml version="1.0"?>
<PropertyList>
<PropertyList>
Line 50: Line 51:
                 <type>float</type>
                 <type>float</type>
                 <format>%f</format>
                 <format>%f</format>
                 <node>/controls/engines/engine/throttle</node>
                 <node>/controls/engines/throttle-all</node>
            </chunk>
            <chunk>
                <name>throttle1</name>
                <type>float</type>
                <format>%f</format>
                <node>/controls/engines/engine[1]/throttle</node>
            </chunk>
            <chunk>
                <name>throttle2</name>
                <type>float</type>
                <format>%f</format>
                <node>/controls/engines/engine[2]/throttle</node>
            </chunk>
            <chunk>
                <name>throttle3</name>
                <type>float</type>
                <format>%f</format>
                <node>/controls/engines/engine[3]/throttle</node>
             </chunk>
             </chunk>


Line 74: Line 57:
     </generic>
     </generic>
</PropertyList>
</PropertyList>




339

edits

Navigation menu