From e748fe252aefa0aea2c85f13c7901a2eabcb1389 Mon Sep 17 00:00:00 2001 From: Daryl Borth Date: Fri, 28 Feb 2020 18:50:40 -0700 Subject: [PATCH] fix controllers with bad calibration data --- source/gui/gui_trigger.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/gui/gui_trigger.cpp b/source/gui/gui_trigger.cpp index ff20557..8d138c9 100644 --- a/source/gui/gui_trigger.cpp +++ b/source/gui/gui_trigger.cpp @@ -133,10 +133,6 @@ s8 GuiTrigger::WPAD_Stick(u8 stick, int axis) center = js->center.x; } - if(min == max) { - return 0; - } - // some 3rd party controllers return invalid analog sticks calibration data if ((min >= center) || (max <= center)) { // force default calibration settings