Qt: Support binding half axes

pull/2350/head
Connor McLaughlin 4 years ago
parent a84992c395
commit f861fa40e5

@ -73,6 +73,9 @@ bool InputAxisBindingMonitor::ProcessAxisInput(const ControllerInterface::Hook&
if (std::abs(value) < 0.5f)
return false;
if (m_axis_type == Controller::AxisType::Half)
half_axis_positive = (value > 0.0f);
return true;
}
else // Joystick

Loading…
Cancel
Save