Crate joybus_pio

Source
Expand description

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

Structsยง

GamecubeController
A wrapper around JoybusPio providing a high level interface for acting as a gamecube controller.
GamecubeInput
Specify the button and stick inputs to be provided to a gamecube compatible device.
JoybusPio
A wrapper around the PIO types from the rp2040 HAL required for low level communication over the joybus protocol.