Wii Guitar Hero Controller to USB Gamepad (for Gitadora GF)
This firmware converts a Wii Nunchuck or Wii Guitar Hero controller into a high-performance USB HID Gamepad using a Wemos LOLIN S2 Mini (ESP32-S2).
Connect the controller via an adapter or jumper wires to the S2 Mini:
| Controller Pin | S2 Mini Pin | Description |
|---|---|---|
| VCC | 3V3 | 3.3V Power |
| GND | GND | Ground |
| SDA | Pin 33 | I2C Data (Default for S2 Mini) |
| SCL | Pin 35 | I2C Clock (Default for S2 Mini) |
- Framework: Arduino
- Build Tool: PlatformIO
- Core Library: madhephaestus/WiiChuck
- PlatformIO Core or VS Code with the PlatformIO extension.
- Python 3.x
To build the project:
pio runTo upload to your S2 Mini:
pio run --target upload- Green/Red/Yellow/Blue/Orange: Buttons 1-5
- Strum Up/Down: Buttons 6-7
- Joystick: Left Stick X/Y
- Whammy: Right Stick Y
- Plus/Minus: Buttons 8-9
- Joystick: Left Stick X/Y
- Z Button: Button 1
- C Button: Button 2
- Accelerometer: Right Stick X/Y (Tilt)
MIT

