Skip to content

Latest commit

 

History

History
105 lines (77 loc) · 7.58 KB

README.md

File metadata and controls

105 lines (77 loc) · 7.58 KB

DC801 Fork

Note that this is a fork of the GP2040-CE project made to act as the firmware for the RP2040 Chip on the DC801 Defcon 32 Controller Badge. The intent of the fork is to add support for both a TLA2528 ADC Chip, as well as Bluetooth controller support using an ESP32-C3 Super Mini module. All info below here in the readme is unmodified from the original repository, and this repo may not be updated with the latest features from the GP2040 team in the future.

GP2040-CE

Multi-Platform Gamepad Firmware for RP2040


GP2040-CE (Community Edition) is a gamepad firmware for the Raspberry Pi Pico and other boards based on the RP2040 microcontrollers that combines multi-platform compatibility, low latency and a rich feature set to provide endless customization possibilities without sacrificing performance.

GP2040-CE is compatible with PC, PS3 and PS4, Nintendo Switch, Steam Deck, MiSTer and Android.

Links

Downloads | Installation | Wiring | Usage | FAQ | GitHub

Full documentation can be found at https://gp2040-ce.info

Features

  • Select from 13 input modes including X-Input, Nintendo Switch, Playstation 4/5, Xbox One, D-Input, and Keyboard
  • Overclocked polling rate for an average of 0.76ms of input latency in Xinput and on average 1.72 for Playstation 4/5.
  • Multiple SOCD cleaning modes - Up Priority (a.k.a. Stickless), Neutral, and Second Input Priority.
  • Left and Right stick emulation via D-pad inputs as well as dedicated toggle switches.
  • Dual direction via D-pad + LS/RS.
  • Reversed input via a button.
  • Turbo and Turbo LED with selectable speed
  • Per-button RGB LED support.
  • PWM Player indicator LED support (XInput only).
  • Multiple LED profiles support.
  • Support for 128x64 monochrome I2C displays - SSD1306, SH1106, and SH1107 compatible.
  • Custom startup splash screen and easy image upload via web configuration.
  • Support for passive buzzer speaker (3v or 5v).
  • Built-in, embedded web configuration - No download required!

Visit the GP2040-CE Usage page for more details.

Performance

Input latency is tested using the methodology outlined at WydD's inputlag.science website, using the default 1000 Hz (1 ms) polling rate in the firmware. You can read more about the setup we use to conduct latency testing HERE if you are interested in testing for yourself or would just like to know more about the devices used to do the testing.

Version Mode Poll Rate Min Max Avg Stdev % on time %1f skip %2f skip
v0.7.7 Xinput 1 ms 0.45 ms 1.28 ms 0.76 ms 0.24 ms 98.48% 1.52% 0%
v0.7.7 Switch 1 ms 0.41 ms 1.22 ms 0.72 ms 0.24 ms 98.54% 1.46% 0%
v0.7.7 Dinput (PS3) 1 ms 0.44 ms 1.27 ms 0.75 ms 0.24 ms 98.49% 1.51% 0%
v0.7.7 PS4 1 ms 0.55 ms 2.17 ms 0.86 ms 0.24 ms 98.30% 1.70% 0%
v0.7.7 PS4 Hack 1 ms 0.55 ms 1.38 ms 0.86 ms 0.24 ms 98.32% 1.68% 0%

Full results can be found in the GP2040-CE v0.7.7 Firmware Latency Test Results .xlsx Sheet.

Results from v0.7.6 can be found HERE. Previous results from v0.7.5 and earlier can be found in the GP2040-CE v0.7.5 (and before) Firmware Latency Test Results .xlsx Sheet.

Support

If you would like to discuss features, issues or anything else related to GP2040-CE please create an issue or join the OpenStick GP2040-CE Discord support channel.

Contributing

Want to help improve GP2040-CE? There are a bunch of ways to contribute!

Community Participation

Have an idea for a cool new feature, or just want to discuss some technical details with the developers? Join the OpenStick GP2040-CE Discord server to participate in our active and ever-growing community!

Pull Requests

Pull requests are welcome and encouraged for enhancements, bug fixes and documentation updates.

Please respect the coding style of the file(s) you are working in, and enforce the use of the .editorconfig file when present.

Acknowledgements