27 #ifndef GCSCONTROLGADGETCONFIGURATION_H
28 #define GCSCONTROLGADGETCONFIGURATION_H
31 #include <QtNetwork/QHostAddress>
53 QObject *parent =
nullptr);
56 void setRPYTchannels(
int roll,
int pitch,
int yaw,
int throttle);
64 buttonSettings[
i].ActionID = ActionID;
69 buttonSettings[
i].FunctionID = FunctionID;
74 buttonSettings[
i].Amount = Amount;
79 channelReverse[
i] = Reverse;
83 bool getGcsReceiverMode();
84 void setGcsReceiverMode(
bool enable);
86 void saveConfig(QSettings *settings)
const;
102 bool channelReverse[8];
105 #endif // GCSCONTROLGADGETCONFIGURATION_H
buttonSettingsStruct getbuttonSettings(int i)
void setChannelReverse(int i, bool Reverse)
void setbuttonSettingsFunction(int i, int FunctionID)
void setbuttonSettingsAction(int i, int ActionID)
void setControlsMode(int mode)
void setbuttonSettingsAmount(int i, double Amount)
UAVDataObject * clone(quint32 instID)