# Joypad OS: controller firmware that turns a microcontroller into an adapter

> Apache-licensed firmware for RP2040, ESP32-S3 and nRF52840 boards that reads modern controllers, speaks retro console protocols and reroutes everything through one translation layer.

**joypad-ai/joypad-os** — Universal controller firmware core for adapters, dongles, and custom controllers.

- Repository: https://github.com/joypad-ai/joypad-os
- Website: https://joypad.ai
- Stars: 1,744 · Forks: 118
- Language: C
- License: Apache-2.0
- Published: 2026-10-07 · Updated: 2026-10-07 · Language: en
- Canonical page: https://hysenlabs.com/projects/joypad-ai-joypad-os

## One normalize-route-translate pipeline for every adapter

The README explains the architecture in a single paragraph, and that paragraph is the reason the project works. Joypad OS normalizes every input source into a common format, routes it through configurable player slots, and translates it into whatever output protocol the target needs, from retro console protocols bit-banged via PIO to modern USB HID and XInput.

Three stages, one pipeline. Normalization is what lets a PlayStation 4 DualShock, a SNES controller and a pair of accessibility switches all arrive at the routing layer as the same shape. Routing handles player slots, which is where multitap support and multi-player arcade layouts come from. Translation is the part that varies per adapter, and the table of console support shows how wide that spread is: PlayStation 4 with local RSA auth and passthrough, PC Engine with multitap for five players, GameCube and Wii with profiles and keyboard mode, Dreamcast with analog triggers, N64 with rumble pak emulation and Bluetooth, Nuon DVD players including the Tempest 3000 spinner, 3DO with eight players, Neo Geo with 1L6B arcade layouts, and Casio Loopy marked experimental with four players.

Underneath all of it sits TinyUSB and the PIO blocks on the RP2040, which is why the topic list includes tinyusb, usb-hid, xinput, dinput, bluetooth and usb alongside the console names. The project was formerly called USBRetro, and that rename is the clearest statement of what changed: it stopped being a pile of USB adapters and became a platform.

## Building one adapter takes four make targets

The quick start is deliberately short. On macOS you install the ARM toolchain, clone, run `make init`, and then name the board you want:

```bash
# Install ARM toolchain (macOS)
brew install --cask gcc-arm-embedded cmake git

# Clone and initialize
git clone https://github.com/joypad-ai/joypad-os.git
cd joypad-os && make init

# Build an adapter
make usb2gc_kb2040     # USB/BT to GameCube
make snes2usb_kb2040   # SNES controller to USB
```

Output lands at `releases/joypad_<commit>_<app>_<board>.uf2`, so the artefact name carries the commit, the application and the board. The other two supported vendors follow the same three-step shape with their own setup target:

```bash
make init-esp                   # One-time ESP-IDF setup
make bt2usb_esp32s3             # Build
make flash-bt2usb_esp32s3       # Flash
```

and the same for nRF with `make init-nrf`, `make bt2usb_seeed_xiao_nrf52840` and the matching flash target. The naming convention is worth reading carefully, because `usb2gc` and `bt2gc` are different applications: the first converts a USB or Bluetooth controller to GameCube, the second converts Bluetooth to GameCube. The table groups Console Adapters, USB and Wireless Adapters, and Native Controller Adapters, and the third of those is where the reverse direction lives, converting SNES, NES, N64, GameCube and Neo Geo arcade sticks to plain USB gamepads.

There is also a WiFi2USB app that takes a JOCP controller over WiFi and presents a USB gamepad, which is the most unusual of the set and the clearest demonstration that the transport layer is genuinely pluggable.

## Updating an adapter is a drag and drop onto RPI-RP2

Most users never compile anything, and the README puts that path first, before the build instructions. The sequence is four steps: download the latest `.uf2` for your adapter from Releases, enter the bootloader by holding BOOT while connecting USB-C or by double-tapping reset, drag the file onto the `RPI-RP2` drive that appears, and the drive ejects when the flash is done.

The bootloader entry differs by board, and the release notes spell it out. For RP2040 you disconnect the adapter from the console and all USB devices and hold BOOT while connecting USB-C, except on usb2gc where no BOOT button is needed. For the ESP32-S3 you double-tap reset to enter TinyUF2 mode, and for the nRF52840 you double-tap reset to enter the UF2 bootloader, with FTHR840BOOT and XIAO-SENSE named as the boards that expose that drive.

That asymmetry is the sort of detail that separates a project with real hardware coverage from one that only ever ran on a dev board, and the release notes point at dedicated platform documents for first-time TinyUF2 setup and for the nRF bootloader in case the summary is not enough. LED status codes and profile switching are documented separately in the installation guide, which suggests the project has spent time on the failure modes rather than only the happy path.

The releases themselves are numbered 2.4.0, 2.3.0 and 2.2.0 and all three notes open by deferring to CHANGELOG.md for the full list, which is an unusual amount of trust in a file that is easier to lose than a release body. Version 2.4.0 shipped on 2026-08-14, a little under five weeks before the last push on 2026-09-20.

## The compiler version is pinned because codegen changes timing

The most revealing file in the repository is the Dockerfile, and it explains a bug class that is unique to this kind of project. The build deliberately skips Debian's gcc-arm-none-eabi package, GCC 12.2.1, because PIO-USB's tightened handshake and turnaround paths are sensitive to compiler codegen. GCC 12 versus GCC 15 produces different cycle counts in `__not_in_flash_func` code, which breaks specific 2.4 GHz dongles and wireless pads. The image pins ARM GNU Toolchain 15.2.rel1, GCC 15.2, to match the brew-installed local toolchain.

```bash
ARG ARM_TOOLCHAIN_VERSION=15.2.rel1
```

The makefile carries the matching warning from the other direction. The brew formula `arm-none-eabi-gcc` is not a viable substitute on macOS because it lacks newlib, so bare-metal links fail, and the supported path is the `gcc-arm-embedded` cask which bundles newlib and puts the toolchain under /Applications/ArmGNUToolchain. The makefile also says that 14.x locally is fine for matching codegen on the pico-pio-usb pin, so the constraint is narrower than it looks: it is about not drifting far from 15, not about exactly matching the container.

Two consequences for anyone building this. First, a toolchain error here will not look like a toolchain error, it will look like a wireless controller that stopped pairing. Second, the tree carries `wch/` alongside `esp/` and `nrf/`, plus `hardware/`, `tools/`, `tests/` and a `docs/` directory driven by mkdocs, so there is real test infrastructure behind the targets. There is also a `.env.example` whose only setting is JOYPAD_DEBUG for TinyUSB logging at 0, 1 or 2, which is the entire local configuration surface.

## Assistive input and profiles are first-class, not a side project

Most controller adapter projects assume a one-to-one mapping between a pad and a console. The assistive gaming use case in the README breaks that assumption: merge multiple input devices such as switches, joysticks and eye trackers into a single controller output using flexible input routing.

That is the same routing layer the arcade apps use for player slots, which is why the design holds up. A Neo Geo build with seven profiles and 1L6B arcade layouts is doing something structurally similar to a build where three separate switches drive one button, and neither needs a special case in the translation stage. GameCube and Wii builds advertise profiles, rumble and keyboard mode, and N64 gets rumble pak emulation plus Bluetooth, so the same firmware handles both directions of the mapping problem.

Wireless adapters are treated as a first-class category rather than an afterthought: BT2USB turns a Bluetooth controller into a wired USB gamepad for low-latency play across Pico W, ESP32-S3 and nRF52840, and the README explains that it exists for latency rather than convenience. The 3,534-star repository has 94 forks and 104 open issues, which is a lot of open issues, and for firmware that touches proprietary authentication and undocumented console protocols that ratio is less alarming than it looks. Apache-2.0 covers the code, with a separate THIRD_PARTY_LICENSES file and a TRADEMARK.md because the console names are not the project's to grant.

## Conclusion

Joypad OS earns its place in a category that has no real software: once you have soldered a controller port to a microcontroller, there is nothing to install and no app to configure, so the firmware either speaks the protocol or it does not. The makefile targets are the honest measure of coverage, twenty-odd adapter builds across GameCube, Dreamcast, PC Engine, N64, Nuon and the arcade cabinets, plus the Bluetooth and PlayStation 4 authentication paths that make the USB adapters work at all. The cost is a toolchain that has to be pinned by hand and a project with 104 open issues, which is what you should expect from firmware spanning three vendors. Start with `make init` and the usb2gc_kb2040 target on an RP2040 board, read docs/architecture/ps4_auth.md before attempting any PS4 passthrough, and keep the .uf2 drag-and-drop update path in mind because it is the only install most users ever need.

## FAQ

### What hardware can Joypad OS run on?

Three microcontroller families are supported: RP2040, ESP32-S3 and nRF52840. The tree carries a directory for each plus a wch directory, and the build targets name specific boards, so the hardware list is boards rather than general chip support.

### Do I need to compile firmware to use an adapter?

No. If you bought or built a supported adapter, updating it means downloading the .uf2 for that board, entering the bootloader by holding BOOT or double-tapping reset, and dragging the file onto the RPI-RP2 drive. Compilation is only for people making their own hardware.

### Which consoles and adapters does it cover?

GameCube and Wii, Dreamcast, PlayStation 4, PC Engine and TurboGrafx-16, N64, Nuon DVD players including Tempest 3000, 3DO, Neo Geo and SuperGun, and Casio Loopy as an experimental four-player build. There are also the reverse adapters, SNES, NES, N64, GameCube and Neo Geo sticks converted to USB.

### Why does my build need a specific ARM GCC version?

Because PIO-USB timing is sensitive to compiler code generation, and GCC 12 versus GCC 15 produces different cycle counts in __not_in_flash_func code. That difference breaks some 2.4 GHz dongles and wireless pads, which is why the Dockerfile pins ARM GNU Toolchain 15.2.rel1 and the makefile steers you to the brew cask that bundles newlib.

### Can it combine several input devices into one controller?

Yes. The README lists assistive gaming setups as a target use case, merging devices such as switches, joysticks and eye trackers into a single controller output through flexible input routing. That routing layer is the same one the arcade builds use for player slots.

## Sources

- [joypad-ai/joypad-os on GitHub](https://github.com/joypad-ai/joypad-os)
- [License: Apache-2.0](https://github.com/joypad-ai/joypad-os/blob/main/LICENSE)
- [Project website](https://joypad.ai)
- [README](https://github.com/joypad-ai/joypad-os/blob/main/README.md)
- [Releases](https://github.com/joypad-ai/joypad-os/releases)

---

Hysen Labs editorial analysis, written from the project's own repository and release notes. Cite the canonical page: https://hysenlabs.com/projects/joypad-ai-joypad-os
