mirror of https://github.com/snes9xgit/snes9x.git
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 })
|
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;
|
||||||
|
|
Loading…
Reference in New Issue