Flaps and air brakes have been added. The Wizard is now done as far as OpenTX 2.0 is concerned (Helicopter functionality to be added in 2.x)

This commit is contained in:
Kjell Kernen
2014-04-01 12:56:18 +02:00
parent 7a29fcf266
commit cad1850116
4 changed files with 76 additions and 60 deletions
+9 -7
View File
@@ -24,13 +24,13 @@
#define WIZ_MODEL_NAME_LENGTH 12
enum Input {
NOINPUT,
RUDDER,
ELEVATOR,
THROTTLE,
AILERON,
FLAP,
AIRBREAK
NO_INPUT,
RUDDER_INPUT,
ELEVATOR_INPUT,
THROTTLE_INPUT,
AILERONS_INPUT,
FLAPS_INPUT,
AIRBRAKES_INPUT
};
enum Vehicle {
@@ -92,6 +92,8 @@ class WizMix
private:
WizMix();
void addMix(ModelData & model, Input input, int weight, int channel, int & mixerIndex);
void maxMixSwitch(MixData &mix, int destCh, int sw, int weight);
};
#endif // WIZARDDATA_H