| 1 |
<?xml version="1.0"?> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
<PropertyList> |
| 25 |
|
| 26 |
<name>ThrustMaster Attack Throttle</name> |
| 27 |
|
| 28 |
<axis n="0"> |
| 29 |
<desc>Aileron</desc> |
| 30 |
<binding> |
| 31 |
<command>property-scale</command> |
| 32 |
<property>/controls/flight/aileron</property> |
| 33 |
<squared type="bool">true</squared> |
| 34 |
</binding> |
| 35 |
</axis> |
| 36 |
|
| 37 |
<axis n="1"> |
| 38 |
<desc>Elevator</desc> |
| 39 |
<binding> |
| 40 |
<command>property-scale</command> |
| 41 |
<property>/controls/flight/elevator</property> |
| 42 |
<factor type="double">-1.0</factor> |
| 43 |
<squared type="bool">true</squared> |
| 44 |
</binding> |
| 45 |
</axis> |
| 46 |
|
| 47 |
<axis n="2"> |
| 48 |
<desc>Throttle</desc> |
| 49 |
<binding> |
| 50 |
<command>nasal</command> |
| 51 |
<script>controls.throttleAxis()</script> |
| 52 |
</binding> |
| 53 |
</axis> |
| 54 |
|
| 55 |
<axis n="3"> |
| 56 |
<desc>Rudder</desc> |
| 57 |
<binding> |
| 58 |
<command>property-scale</command> |
| 59 |
<property>/controls/flight/rudder</property> |
| 60 |
<factor type="double">1.0</factor> |
| 61 |
</binding> |
| 62 |
</axis> |
| 63 |
|
| 64 |
<axis n="4"> |
| 65 |
<desc>View Direction</desc> |
| 66 |
<low> |
| 67 |
<repeatable>true</repeatable> |
| 68 |
<binding> |
| 69 |
<command>property-adjust</command> |
| 70 |
<property>/sim/current-view/goal-heading-offset-deg</property> |
| 71 |
<step type="double">1.0</step> |
| 72 |
</binding> |
| 73 |
</low> |
| 74 |
<high> |
| 75 |
<repeatable>true</repeatable> |
| 76 |
<binding> |
| 77 |
<command>property-adjust</command> |
| 78 |
<property>/sim/current-view/goal-heading-offset-deg</property> |
| 79 |
<step type="double">-1.0</step> |
| 80 |
</binding> |
| 81 |
</high> |
| 82 |
</axis> |
| 83 |
|
| 84 |
<axis n="5"> |
| 85 |
<desc>View Elevation</desc> |
| 86 |
<low> |
| 87 |
<repeatable>true</repeatable> |
| 88 |
<binding> |
| 89 |
<command>property-adjust</command> |
| 90 |
<property>/sim/current-view/goal-pitch-offset-deg</property> |
| 91 |
<step type="double">1.0</step> |
| 92 |
</binding> |
| 93 |
</low> |
| 94 |
<high> |
| 95 |
<repeatable>true</repeatable> |
| 96 |
<binding> |
| 97 |
<command>property-adjust</command> |
| 98 |
<property>/sim/current-view/goal-pitch-offset-deg</property> |
| 99 |
<step type="double">-1.0</step> |
| 100 |
</binding> |
| 101 |
</high> |
| 102 |
</axis> |
| 103 |
|
| 104 |
<button n="0"> |
| 105 |
<desc>Brakes</desc> |
| 106 |
<binding> |
| 107 |
<command>nasal</command> |
| 108 |
<script>controls.applyBrakes(1)</script> |
| 109 |
</binding> |
| 110 |
<mod-up> |
| 111 |
<binding> |
| 112 |
<command>nasal</command> |
| 113 |
<script>controls.applyBrakes(0)</script> |
| 114 |
</binding> |
| 115 |
</mod-up> |
| 116 |
</button> |
| 117 |
|
| 118 |
<button n="2"> |
| 119 |
<desc>Elevator trim up</desc> |
| 120 |
<repeatable type="bool">true</repeatable> |
| 121 |
<binding> |
| 122 |
<command>property-adjust</command> |
| 123 |
<property>/controls/flight/elevator-trim</property> |
| 124 |
<step type="double">0.001</step> |
| 125 |
</binding> |
| 126 |
</button> |
| 127 |
|
| 128 |
<button n="3"> |
| 129 |
<desc>Elevator trim down</desc> |
| 130 |
<repeatable type="bool">true</repeatable> |
| 131 |
<binding> |
| 132 |
<command>property-adjust</command> |
| 133 |
<property>/controls/flight/elevator-trim</property> |
| 134 |
<step type="double">-0.001</step> |
| 135 |
</binding> |
| 136 |
</button> |
| 137 |
|
| 138 |
<button n="6"> |
| 139 |
<desc>Flaps down</desc> |
| 140 |
<repeatable>false</repeatable> |
| 141 |
<binding> |
| 142 |
<command>nasal</command> |
| 143 |
<script>controls.flapsDown(1)</script> |
| 144 |
</binding> |
| 145 |
<mod-up> |
| 146 |
<binding> |
| 147 |
<command>nasal</command> |
| 148 |
<script>controls.flapsDown(0)</script> |
| 149 |
</binding> |
| 150 |
</mod-up> |
| 151 |
</button> |
| 152 |
|
| 153 |
<button n="7"> |
| 154 |
<desc>Flaps up</desc> |
| 155 |
<repeatable>false</repeatable> |
| 156 |
<binding> |
| 157 |
<command>nasal</command> |
| 158 |
<script>controls.flapsDown(-1)</script> |
| 159 |
</binding> |
| 160 |
<mod-up> |
| 161 |
<binding> |
| 162 |
<command>nasal</command> |
| 163 |
<script>controls.flapsDown(0)</script> |
| 164 |
</binding> |
| 165 |
</mod-up> |
| 166 |
</button> |
| 167 |
|
| 168 |
<button n="4"> |
| 169 |
<desc>Right brake</desc> |
| 170 |
<binding> |
| 171 |
<command>nasal</command> |
| 172 |
<script>controls.applyBrakes(1, 1)</script> |
| 173 |
</binding> |
| 174 |
<mod-up> |
| 175 |
<binding> |
| 176 |
<command>nasal</command> |
| 177 |
<script>controls.applyBrakes(0, 1)</script> |
| 178 |
</binding> |
| 179 |
</mod-up> |
| 180 |
</button> |
| 181 |
|
| 182 |
<button n="5"> |
| 183 |
<desc>Left brake</desc> |
| 184 |
<binding> |
| 185 |
<command>nasal</command> |
| 186 |
<script>controls.applyBrakes(1, -1)</script> |
| 187 |
</binding> |
| 188 |
<mod-up> |
| 189 |
<binding> |
| 190 |
<command>nasal</command> |
| 191 |
<script>controls.applyBrakes(0, -1)</script> |
| 192 |
</binding> |
| 193 |
</mod-up> |
| 194 |
</button> |
| 195 |
|
| 196 |
</PropertyList> |