diff --git a/source/input.cpp b/source/input.cpp index 46a59d5..17ae0e6 100644 --- a/source/input.cpp +++ b/source/input.cpp @@ -383,7 +383,7 @@ static void decodepad (int chan) { int i, offset; double angle; - static const double THRES = cos(67.5); + static const double THRES = 0.38268343236508984; // cos(67.5) s8 pad_x = userInput[chan].pad.stickX; s8 pad_y = userInput[chan].pad.stickY;