A lot has been added to my upcoming UT fangame. Obviously I don't want to spoil most of the mechanics until the trailer. So I only showed here that the game can now be played with a controller. Sorry for the messy code. I can't really find any better way for rebinding buttons.
I'm not sure if it works on an Xbox or Playstation controller since I don't own either of them. I've only tested it on a Switch 1 Joy-con with BetterJoy since Nintendo's controllers need some third-party app. I'll eventually test it with a Switch 1 Pro Controller.