<key n="364"> <name>Insert</name> <desc>Move rudder left</desc> <repeatable type="bool">true</repeatable> <binding> <command>property-adjust</command> <property>/controls/flight/rudder</property> <step type="double">-0.05</step> </binding> </key> |
<button n="9"> <desc type="string">Custom</desc> <repeatable type="bool">true</repeatable> <binding> <command type="string">property-adjust</command> <property type="string">/controls/flight/rudder</property> <step type="double">-0.05</step> </binding> </button> |
<?xml version="1.0"?> <PropertyList> <name type="string">Mad Catz F.L.Y.5 Stick</name> <axis> <!--若不写n值,默认为0--> <desc type="string">Aileron</desc> <binding> <command type="string">property-scale</command> <property type="string">/controls/flight/aileron</property> <dead-band type="double">0</dead-band> <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> <dead-band type="double">0</dead-band> <factor type="double">-1</factor> <offset type="double">0</offset> </binding> </axis> <axis n="2"> <desc type="string">Throttle</desc> <binding> <command type="string">nasal</command> <script type="string">controls.throttleAxis();</script> </binding> </axis> <axis n="6"> <desc type="string">View (horizontal)</desc> <low> <binding> <command type="string">nasal</command> <script type="string">setprop("/sim/current-view/goal-heading-offset-deg", getprop("/sim/current-view/goal-heading-offset-deg") + 30);</script> </binding> </low> <high> <binding> <command type="string">nasal</command> <script type="string">setprop("/sim/current-view/goal-heading-offset-deg", getprop("/sim/current-view/goal-heading-offset-deg") - 30);</script> </binding> </high> </axis> <axis n="7"> <desc type="string">View (vertical)</desc> <low> <binding> <command type="string">nasal</command> <script type="string">setprop("/sim/current-view/goal-pitch-offset-deg", getprop("/sim/current-view/goal-pitch-offset-deg") - 20);</script> </binding> </low> <high> <binding> <command type="string">nasal</command> <script type="string">setprop("/sim/current-view/goal-pitch-offset-deg", getprop("/sim/current-view/goal-pitch-offset-deg") + 20);</script> </binding> </high> </axis> <button> <desc type="string">Brakes</desc> <repeatable type="string">false</repeatable> <binding> <command type="string">nasal</command> <script type="string">controls.applyBrakes(1);</script> </binding> <mod-up> <binding> <command type="string">nasal</command> <script type="string">controls.applyBrakes(0);</script> </binding> </mod-up> </button> <button n="9"> <!--对应FLY5摇杆上按键10--> <desc type="string">Custom</desc> <repeatable type="bool">true</repeatable> <binding> <command type="string">property-adjust</command> <property type="string">/controls/flight/rudder</property> <step type="double">-0.05</step> </binding> </button> <button n="10"> <desc type="string">Custom</desc> <repeatable type="bool">true</repeatable> <binding> <command type="string">property-adjust</command> <property type="string">/controls/flight/rudder</property> <step type="double">0.05</step> </binding> </button> <button n="13"> <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> </PropertyList> |
422.36 KB, 下载次数: 18
欢迎光临 FlightGear飞行模拟器 (http://flightgear.org.cn/) | Powered by Discuz! X3.2 |