This typically includes resistors, push buttons, and sensors ... start small using one of the built-in examples in the Arduino IDE. The most beginner-friendly sketch here is the "Blink," which ...
[Facelesstech] programmed an Arduino Pro Micro to fake controller button presses. It starts with a couple of presses to identify itself to the Switch, before generating an endless stream of button ...