From 794b4fdc728e632e00a8b190196468f51fa2107b Mon Sep 17 00:00:00 2001 From: BearOso Date: Fri, 24 May 2024 20:05:07 -0500 Subject: [PATCH] Qt: Remove debug print from hat press. --- qt/src/SDLInputManager.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qt/src/SDLInputManager.cpp b/qt/src/SDLInputManager.cpp index 7083e34d..066bd0c2 100644 --- a/qt/src/SDLInputManager.cpp +++ b/qt/src/SDLInputManager.cpp @@ -74,7 +74,6 @@ SDLInputManager::DiscretizeHatEvent(SDL_Event &event) for (auto &s : { SDL_HAT_UP, SDL_HAT_DOWN, SDL_HAT_LEFT, SDL_HAT_RIGHT }) if ((old_state & s) != (new_state & s)) { - printf(" old: %d, new: %d\n", old_state, new_state); dhe.direction = s; dhe.pressed = (new_state & s); old_state = new_state; @@ -226,4 +225,4 @@ std::vector> SDLInputManager::getXInputControllers() } return list; -} \ No newline at end of file +}