1
0
Fork 0

fix deadzone max value

This commit is contained in:
B3n30 2018-10-09 21:23:50 +02:00
parent 4831095610
commit 2b46b838f1
1 changed files with 1 additions and 1 deletions

View File

@ -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);