mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-19 20:11:06 +00:00
fix deadzone max value
This commit is contained in:
parent
4831095610
commit
2b46b838f1
@ -438,7 +438,7 @@ public:
|
||||
const int port = params.Get("port", 0);
|
||||
const int axis_x = params.Get("axis_x", 0);
|
||||
const int axis_y = params.Get("axis_y", 1);
|
||||
float deadzone = std::clamp(params.Get("deadzone", 0.0f), 0.0f, .099f);
|
||||
float deadzone = std::clamp(params.Get("deadzone", 0.0f), 0.0f, .99f);
|
||||
|
||||
auto joystick = state.GetSDLJoystickByGUID(guid, port);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user