Przeglądaj źródła

Merge pull request #7730 from v1993/patch-6

input_common: nitpick about SetHatButton usage
Mai M 4 lat temu
rodzic
commit
45ac3f414e
1 zmienionych plików z 1 dodań i 1 usunięć
  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);
         }
     }
 }