Qt: Remove debug print from hat press.

This commit is contained in:
BearOso 2024-05-24 20:05:07 -05:00
parent 738e53989e
commit 794b4fdc72
1 changed files with 1 additions and 2 deletions

View File

@ -74,7 +74,6 @@ SDLInputManager::DiscretizeHatEvent(SDL_Event &event)
for (auto &s : { SDL_HAT_UP, SDL_HAT_DOWN, SDL_HAT_LEFT, SDL_HAT_RIGHT }) for (auto &s : { SDL_HAT_UP, SDL_HAT_DOWN, SDL_HAT_LEFT, SDL_HAT_RIGHT })
if ((old_state & s) != (new_state & s)) if ((old_state & s) != (new_state & s))
{ {
printf(" old: %d, new: %d\n", old_state, new_state);
dhe.direction = s; dhe.direction = s;
dhe.pressed = (new_state & s); dhe.pressed = (new_state & s);
old_state = new_state; old_state = new_state;
@ -226,4 +225,4 @@ std::vector<std::pair<int, std::string>> SDLInputManager::getXInputControllers()
} }
return list; return list;
} }