diff --git a/lib/inputdev/DolphinSmashAdapter.cpp b/lib/inputdev/DolphinSmashAdapter.cpp index 1373456..9caf1c4 100644 --- a/lib/inputdev/DolphinSmashAdapter.cpp +++ b/lib/inputdev/DolphinSmashAdapter.cpp @@ -250,7 +250,7 @@ static void pad_clamptrigger(int16_t& trigger) else { if (max < trigger) - trigger = max - min; + trigger = max; trigger -= min; } }