mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
ControllerInterface: Input detection improvements.
This commit is contained in:
@ -259,7 +259,7 @@ std::string Joystick::Hat::GetName() const
|
||||
|
||||
ControlState Joystick::Axis::GetState() const
|
||||
{
|
||||
return std::max(0.0, ControlState(m_axis - m_base) / m_range);
|
||||
return ControlState(m_axis - m_base) / m_range;
|
||||
}
|
||||
|
||||
ControlState Joystick::Button::GetState() const
|
||||
|
Reference in New Issue
Block a user