Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix autorepeat not being triggered when inside deadzone (#261)
when the joystick is moved there is an SDL_Event, but when inside the deadzone the position of the joystick will not be updated. In this case should_publish remains false. However, before this commit we would not trigger the autorepeat functionality in this case. Now we trigger the autorepeat functionality everytime where we didnt update the joystick (due to deadzone) or when there was no SDL_Event.
- Loading branch information