libjoybus
Joybus implementation for 32-bit MCUs
Loading...
Searching...
No Matches
joybus_gc_controller Struct Reference

GameCube controller Joybus target. More...

#include <gc_controller.h>

Data Fields

struct joybus_target base
 Controller ID.
uint8_t id [3]
struct joybus_gc_controller_input origin
 Origin input state.
struct joybus_gc_controller_input input
 Current input state.
uint8_t packed_input [8]
 Packed input state buffer.
bool input_valid
 Whether the input state is valid.
joybus_gc_controller_reset_cb_t on_reset
 Callback for controller reset events.
joybus_gc_controller_motor_cb_t on_motor_state_change
 Callback for controller motor state change events.

Detailed Description

GameCube controller Joybus target.


The documentation for this struct was generated from the following file: