For the people that are interested in custom DIY-Arcadestick building, here's my code that I use for my Nintendo Switch Fightstick.
The whole project is flashable via Arduino IDE.
It has a digital mode, fake analog, and fake analog mode for Super Smash Ultimate Mode with modifier key.
You can...