Qt: Remove debug print from hat press.
This commit is contained in:
parent
738e53989e
commit
794b4fdc72
@ -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<std::pair<int, std::string>> SDLInputManager::getXInputControllers()
|
||||
}
|
||||
|
||||
return list;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user