I'm still learning Arduino and thought it would be fun to build a custom controller inspired by Stick War: Legacy. My idea is to use a joystick and a few push buttons to send keyboard inputs to a PC or Android device.
Has anyone here made a game controller with an Arduino (such as a Leonardo or Pro Micro) that emulates a USB keyboard or gamepad? I'm mainly looking for advice on the best approach, button wiring, and whether there are any good libraries I should start with.
I'd also be interested in seeing similar gaming controller projects if anyone has examples.