@ -72,6 +72,7 @@ public:
@@ -72,6 +72,7 @@ public:
Q_INVOKABLE QString getButtonAction ( int button ) ;
Q_PROPERTY ( int throttleMode READ throttleMode WRITE setThrottleMode NOTIFY throttleModeChanged )
Q_PROPERTY ( bool negativeThrust READ negativeThrust WRITE setNegativeThrust NOTIFY negativeThrustChanged )
Q_PROPERTY ( float exponential READ exponential WRITE setExponential NOTIFY exponentialChanged )
Q_PROPERTY ( bool accumulator READ accumulator WRITE setAccumulator NOTIFY accumulatorChanged )
Q_PROPERTY ( bool requiresCalibration READ requiresCalibration CONSTANT )
@ -106,6 +107,9 @@ public:
@@ -106,6 +107,9 @@ public:
int throttleMode ( void ) ;
void setThrottleMode ( int mode ) ;
bool negativeThrust ( void ) ;
void setNegativeThrust ( bool allowNegative ) ;
float exponential ( void ) ;
void setExponential ( float expo ) ;
@ -141,6 +145,8 @@ signals:
@@ -141,6 +145,8 @@ signals:
void throttleModeChanged ( int mode ) ;
void negativeThrustChanged ( bool allowNegative ) ;
void exponentialChanged ( float exponential ) ;
void accumulatorChanged ( bool accumulator ) ;
@ -206,6 +212,8 @@ protected:
@@ -206,6 +212,8 @@ protected:
ThrottleMode_t _throttleMode ;
bool _negativeThrust ;
float _exponential ;
bool _accumulator ;
bool _deadband ;