diff --git a/Source/Plugins/Plugin_nJoy_SDL/Src/GUI/ConfigJoypad.cpp b/Source/Plugins/Plugin_nJoy_SDL/Src/GUI/ConfigJoypad.cpp index 31c5a33ba1..ffdf347533 100644 --- a/Source/Plugins/Plugin_nJoy_SDL/Src/GUI/ConfigJoypad.cpp +++ b/Source/Plugins/Plugin_nJoy_SDL/Src/GUI/ConfigJoypad.cpp @@ -252,7 +252,7 @@ bool AvoidValues(int value) { // Avoid detecting very small or very big (for triggers) values if( (value > -0x2000 && value < 0x2000) // Small values - || (value < -0x6000 || value > 0x6000)) // Big values + || (value < -0x6000 && value > 0x6000)) // Big values return true; // Avoid else return false; // Keep