#game-cube #pio #rp2040 #joybus

no-std joybus-pio

An implementation of the controller side of the joybus protocol for gamecube for the RP2040 chip via its PIO functionality

1 unstable release

0.1.0 Feb 2, 2025

#372 in Embedded development

Download history 122/week @ 2025-02-02

122 downloads per month

LGPL-3.0-or-later

19KB
319 lines

joybus-pio rs

An implementation of the controller side of the joybus protocol for gamecube for the RP2040 chip via its PIO functionality.

joybus-pio and haybox were heavily referenced in the implementation.

Goals

Currently implemented

  • Supports gamecube (joybus) controller protocol. (currently only tested on pc <-> gc adapter)

Things I would be happy for others to implement

  • N64 support

Things I might be happy for others to implement

  • Console side protocol support

Non-Goals

  • Support for anything other than rp2040 PIO
    • If boards start using the RP2350 chip, or the RP2040 is in some other way seriously outdated I will consider moving to a new chip.

lib.rs:

An implementation of the controller side of the joybus protocol for gamecube for the RP2040 chip via its PIO functionality.

joybus-pio and haybox were heavily referenced in the implementation.

For understanding how the inner protocol works consider this excellent writeup on the GC controller protocol

Dependencies

~9MB
~180K SLoC