Преглед изворни кода

input_common: nitpick about SetHatButton usage

Valeri пре 4 година
родитељ
комит
3431e0acf5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/input_common/input_engine.cpp

+ 1 - 1
src/input_common/input_engine.cpp

@@ -173,7 +173,7 @@ void InputEngine::ResetButtonState() {
             SetButton(controller.first, button.first, false);
         }
         for (const auto& button : controller.second.hat_buttons) {
-            SetHatButton(controller.first, button.first, false);
+            SetHatButton(controller.first, button.first, 0);
         }
     }
 }