|
libjoybus
Joybus implementation for 32-bit MCUs
|
GameCube controller Joybus target. More...
#include <gcn_controller.h>
Data Fields | |
| struct joybus_target | base |
| Base target interface. | |
| struct joybus_id | id |
| Controller ID. | |
| struct joybus_gcn_controller_state | origin |
| Origin input state. | |
| struct joybus_gcn_controller_state | input |
| Current input state. | |
| uint8_t | packed_input [8] |
| Packed input state buffer. | |
| bool | input_valid |
| Whether the input state is valid. | |
| joybus_target_gcn_controller_reset_cb | on_reset |
| Callback for controller reset events. | |
| joybus_target_gcn_controller_motor_cb | on_motor_state_change |
| Callback for controller motor state change events. | |
GameCube controller Joybus target.