Closed vgmoose closed 6 years ago
Resolved by responding to SDL events as they come in rather than polling.
Now the opposite problem exists, buttons cannot be held down to fire repeatedly as of https://github.com/vgmoose/hb-appstore/commit/467448246518f78e4a3d5b9378a80af780442645 (but this is planned for 2.0)
If a button is held for too long after pushing it, it will fire more than once. I tried to swap this out for a keyup event, but the same problem continues. On the PC version it can be resolved by setting the
event.key.keysym.sym
to another symbol but that doesn't work on Switch.It could also have to do with the SDL1.2 port, and might be resolved when transitioning to SDL2