Skip to content

AntoniosBarotsis/controller-trigger-recorder

Repository files navigation

controller-trigger-recorder

acc.mp4

Video is actually a bit outdated, the window is now fully transparent and the top bezel is invisible but I'm too lazy to re-record it

Creates a transparent chart at the bottom of the screen that shows your controller trigger inputs over time (as shown in the video).

Issues and Stuff

I made 90% of this in one consecutive 7 hour session for "fun" so there's a couple of things that are not great about it:

  • You need to ctrl-c the process to exit it as I have removed the window bezel things that normally have the X button
  • This is configured for a 1920x1080p screen and you can't move or stretch the window
  • Refresh rate is not tunable
  • Chart could look a bit better
  • Probably early panics if you forget to connect your controller before running it
  • No clue what happens when there's more than 1 controller (but why would that be the case anyway right?)
  • One or two times I noticed some weird performance drop for a few seconds, no idea where that came from or if it is still a thing. It might be happening because the game is loading chunks of the map which sounds like a cheap excuse for a performance skill issue but I noticed that it happens more often in large tracks and in shorter ones it seems to happen at specific areas, even when my laptime is inconsistent. That said, it could also just be a skill issue.
  • You might need to run games in borderless windowed instead of fullscreen
  • Only tested on Windows, probably doesn't work on Linux, might work on Mac

Note that all of these are actually pretty easy to fix since the project is ~170 lines of code. You can also open an issue that I may or may not work on 👍