Multi-Platform Gamepad Firmware for RP2040
open sourceMITfree
GP2040-CE (Community Edition) is open source gamepad firmware for the Raspberry Pi Pico and other RP2040 and RP2350 boards, used in fightsticks, hitboxes and DIY controllers. It works with PC, PS3, PS4, PS5, Nintendo Switch, Xbox One, Steam Deck, MiSTer and Android through 14 input modes (XInput, Switch, PlayStation 4/5, Xbox One, D-Input and keyboard among them), with measured average input latency under a millisecond. It has SOCD cleaning modes, stick emulation from the D-pad, turbo, per-button RGB LEDs, I2C displays and add-ons, and a web configurator built into the firmware sets it up from a browser with no download. Firmware installs by dragging a UF2 file onto the board.
Problems it solves
- build my own fightstick that works on PS5, Switch and PC
- turn a Raspberry Pi Pico into a low latency game controller
- set SOCD cleaning on my hitbox for tournament rules
- remap the buttons on my arcade stick from a browser without installing software
- add RGB lighting and a small screen to my DIY controller
- make a leverless controller with the lowest input lag possible
- use one controller on PlayStation, Xbox, Switch and Steam Deck
Features
- 14 input modes including XInput, Nintendo Switch, PlayStation 4/5, Xbox One, D-Input and keyboard
- average input latency of 0.76 ms in XInput
- SOCD cleaning: up priority, neutral and second input priority
- left and right stick emulation from the D-pad
- turbo with selectable speed
- per-button RGB LEDs and LED profiles
- 128x64 I2C displays with custom splash screens
- built-in web configurator served by the board
- add-ons such as buzzers and player LEDs