Simply check for lag then it works.
Here's a small demonstration of what it now looks like. It works for a variety of games.
TODOs:
- Fix rotation direction on start.
- Fix problems when going for angles near 0.
- Compare by position gain towards the direction of the angle, not by the angle itself.
- Better algorithm, also check inputs around the input that is the best that had been found.
- Add quick rotate.
- Add savestating support.
- Add non-linear support, for TAStudio.