|
|
|
@ -32,9 +32,9 @@ QGC_LOGGING_CATEGORY(JoystickConfigControllerLog, "JoystickConfigControllerLog")
@@ -32,9 +32,9 @@ QGC_LOGGING_CATEGORY(JoystickConfigControllerLog, "JoystickConfigControllerLog")
|
|
|
|
|
const int JoystickConfigController::_updateInterval = 150; ///< Interval for timer which updates radio channel widgets
|
|
|
|
|
const int JoystickConfigController::_calCenterPoint = 0; |
|
|
|
|
const int JoystickConfigController::_calValidMinValue = -32768; ///< Largest valid minimum axis value
|
|
|
|
|
const int JoystickConfigController::_calValidMaxValue = 32768; ///< Smallest valid maximum axis value
|
|
|
|
|
const int JoystickConfigController::_calValidMaxValue = 32767; ///< Smallest valid maximum axis value
|
|
|
|
|
const int JoystickConfigController::_calDefaultMinValue = -32768; ///< Default value for Min if not set
|
|
|
|
|
const int JoystickConfigController::_calDefaultMaxValue = 32768; ///< Default value for Max if not set
|
|
|
|
|
const int JoystickConfigController::_calDefaultMaxValue = 32767; ///< Default value for Max if not set
|
|
|
|
|
const int JoystickConfigController::_calRoughCenterDelta = 500; ///< Delta around center point which is considered to be roughly centered
|
|
|
|
|
const int JoystickConfigController::_calMoveDelta = 32768/2; ///< Amount of delta past center which is considered stick movement
|
|
|
|
|
const int JoystickConfigController::_calSettleDelta = 100; ///< Amount of delta which is considered no stick movement
|
|
|
|
|