Showing 1 changed files with 8 additions and 8 deletions
+8 -8
.fgfs/Input/Joysticks/T-Flight-Stick-X.xml
... ...
@@ -15,10 +15,10 @@ Button 3  | brakes        |                     |                     |
15 15
 Button 4  | PTT COMM 1    | PTT COMM 2          |                     |
16 16
 Button 5  | flaps down    | inHg += 0.01        |                     |
17 17
 Button 6  | flaps up      | inHg -= 0.01        | control all engines | uncontrol all engines
18
-Button 7  | inc mixture   |                     | control engine 2    | uncontrol engine 2
19
-Button 8  | dec mixture   |                     | control engine 3    | uncontrol engine 3
20
-Button 9  | inc proppitch |                     | control engine 1    | uncontrol engine 1
21
-Button 10 | dec proppitch |                     | control engine 0    | uncontrol engine 0
18
+Button 7  | inc mixture   | inc mixture (x10)   | control engine 2    | uncontrol engine 2
19
+Button 8  | dec mixture   | dec mixture (x10)   | control engine 3    | uncontrol engine 3
20
+Button 9  | inc proppitch | inc proppitch (x10) | control engine 1    | uncontrol engine 1
21
+Button 10 | dec proppitch | dec proppitch (x10) | control engine 0    | uncontrol engine 0
22 22
 
23 23
 Mouse mode:
24 24
 the mouse mode to control aicraft will be disabled, and restored at the end of the session.
... ...
@@ -214,25 +214,25 @@ state when back to normal view
214 214
         7 : func {
215 215
           if    (getprop(pressed_button[10])) addSelectedEngine(2);
216 216
           elsif (getprop(pressed_button[11])) removeSelectedEngine(2);
217
-          else controls.adjMixture(-0.1);
217
+          else controls.adjMixture(-0.1 - 0.9 * getprop(pressed_button[0]));
218 218
         },
219 219
 
220 220
         8 : func {
221 221
           if    (getprop(pressed_button[10])) addSelectedEngine(3);
222 222
           elsif (getprop(pressed_button[11])) removeSelectedEngine(3);
223
-          else controls.adjMixture(0.1);
223
+          else controls.adjMixture(0.1 + 0.9 * getprop(pressed_button[0]));
224 224
         },
225 225
 
226 226
         9 : func {
227 227
           if    (getprop(pressed_button[10])) addSelectedEngine(1);
228 228
           elsif (getprop(pressed_button[11])) removeSelectedEngine(1);
229
-          else controls.adjPropeller(0.1);
229
+          else controls.adjPropeller(0.1 + 0.9 * getprop(pressed_button[0]));
230 230
         },
231 231
 
232 232
         10 : func {
233 233
           if    (getprop(pressed_button[10])) addSelectedEngine(0);
234 234
           elsif (getprop(pressed_button[11])) removeSelectedEngine(0);
235
-          else controls.adjPropeller(-0.1);
235
+          else controls.adjPropeller(-0.1 - 0.9 * getprop(pressed_button[0]));
236 236
         },
237 237
       }
238 238
     ]]></script>