A handheld input for microcontroller projects: a thumb joystick, two buttons and a three-axis accelerometer. Use it to explore how physical controls become numbers your program can read, then map those numbers to movement, menus or effects.
Connecting it to a board
The controller uses the Nunchuk-style connector and I2C interface, normally at address 0x52. Use a matching breakout adapter to reach power, ground, clock and data. Check the adapter's orientation, supply and logic requirements before wiring; this is not a USB controller.
Read one input at a time
Adafruit's CircuitPython Nunchuk library provides joystick, button and accelerometer readings. First print the values, observe the joystick centre, then choose thresholds for your project. Third-party controllers can differ; library support is not a test of every clone.
The Shining Mask project illustrates using this style of controller to make a mask react to movement and button presses. Check its wiring and software before building.
A third-party controller. Not affiliated with or endorsed by Nintendo.