Commit a2b62fc0 authored by Don Gagne's avatar Don Gagne

Merge pull request #2642 from rjehangir/master

Joystick: Fix throttle center point.
parents ccca4482 1ed336ff
......@@ -386,11 +386,6 @@ void JoystickConfigController::_inputStickMin(Joystick::AxisFunction_t function,
} else {
_rgAxisInfo[axis].axisMin = value;
}
// Check if this is throttle and set trim accordingly
if (function == Joystick::throttleFunction) {
_rgAxisInfo[axis].axisTrim = value;
}
qCDebug(JoystickConfigControllerLog) << "_inputStickMin saving values, function:axis:value:reversed" << function << axis << value << info->reversed;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment