|
|
#define | JOYBUS_CMD_RESET 0xFF |
| | Reset command.
|
|
#define | JOYBUS_CMD_RESET_TX 1 |
| | Reset command length.
|
|
#define | JOYBUS_CMD_RESET_RX 3 |
| | Reset response length.
|
|
#define | JOYBUS_CMD_IDENTIFY 0x00 |
| | Identify command.
|
|
#define | JOYBUS_CMD_IDENTIFY_TX 1 |
| | Identify command length.
|
|
#define | JOYBUS_CMD_IDENTIFY_RX 3 |
| | Identify response length.
|
|
#define | JOYBUS_CMD_N64_READ 0x01 |
| | N64 read command.
|
|
#define | JOYBUS_CMD_N64_READ_TX 1 |
| | N64 read command length.
|
|
#define | JOYBUS_CMD_N64_READ_RX 4 |
| | N64 read response length.
|
|
#define | JOYBUS_CMD_N64_PAK_READ 0x02 |
| | N64 pak read command.
|
|
#define | JOYBUS_CMD_N64_PAK_READ_TX 3 |
| | N64 pak read command length.
|
|
#define | JOYBUS_CMD_N64_PAK_READ_RX 33 |
| | N64 pak read response length.
|
|
#define | JOYBUS_CMD_N64_PAK_WRITE 0x03 |
| | N64 pak write command.
|
|
#define | JOYBUS_CMD_N64_PAK_WRITE_TX 35 |
| | N64 pak write command length.
|
|
#define | JOYBUS_CMD_N64_PAK_WRITE_RX 1 |
| | N64 pak write response length.
|
|
#define | JOYBUS_CMD_N64_EEPROM_READ 0x04 |
| | N64 EEPROM read command.
|
|
#define | JOYBUS_CMD_N64_EEPROM_READ_TX 2 |
| | N64 EEPROM read command length.
|
|
#define | JOYBUS_CMD_N64_EEPROM_READ_RX 8 |
| | N64 EEPROM read response length.
|
|
#define | JOYBUS_CMD_N64_EEPROM_WRITE 0x05 |
| | N64 EEPROM write command.
|
|
#define | JOYBUS_CMD_N64_EEPROM_WRITE_TX 10 |
| | N64 EEPROM write command length.
|
|
#define | JOYBUS_CMD_N64_EEPROM_WRITE_RX 1 |
| | N64 EEPROM write response length.
|
|
#define | JOYBUS_CMD_N64_RTC_INFO 0x06 |
| | N64 RTC info command.
|
|
#define | JOYBUS_CMD_N64_RTC_INFO_TX 1 |
| | N64 RTC info command length.
|
|
#define | JOYBUS_CMD_N64_RTC_INFO_RX 3 |
| | N64 RTC info response length.
|
|
#define | JOYBUS_CMD_N64_RTC_READ 0x07 |
| | N64 RTC read command.
|
|
#define | JOYBUS_CMD_N64_RTC_READ_TX 2 |
| | N64 RTC read command length.
|
|
#define | JOYBUS_CMD_N64_RTC_READ_RX 9 |
| | N64 RTC read response length.
|
|
#define | JOYBUS_CMD_N64_RTC_WRITE 0x08 |
| | N64 RTC write command.
|
|
#define | JOYBUS_CMD_N64_RTC_WRITE_TX 10 |
| | N64 RTC write command length.
|
|
#define | JOYBUS_CMD_N64_RTC_WRITE_RX 1 |
| | N64 RTC write response length.
|
|
#define | JOYBUS_CMD_N64_KEYBOARD_READ 0x13 |
| | N64 keyboard read command.
|
|
#define | JOYBUS_CMD_N64_KEYBOARD_READ_TX 2 |
| | N64 keyboard read command length.
|
|
#define | JOYBUS_CMD_N64_KEYBOARD_READ_RX 7 |
| | N64 keyboard read response length.
|
|
#define | JOYBUS_CMD_GBA_READ 0x14 |
| | GBA read command.
|
|
#define | JOYBUS_CMD_GBA_READ_TX 3 |
| | GBA read command length.
|
|
#define | JOYBUS_CMD_GBA_READ_RX 33 |
| | GBA read response length.
|
|
#define | JOYBUS_CMD_GBA_WRITE 0x15 |
| | GBA write command.
|
|
#define | JOYBUS_CMD_GBA_WRITE_TX 35 |
| | GBA write command length.
|
|
#define | JOYBUS_CMD_GBA_WRITE_RX 1 |
| | GBA write response length.
|
|
#define | JOYBUS_CMD_PIXELFX_GAMEID 0x1D |
| | PixelFX game ID command.
|
|
#define | JOYBUS_CMD_PIXELFX_GAMEID_TX 11 |
| | PixelFX game ID command length.
|
|
#define | JOYBUS_CMD_PIXELFX_GAMEID_RX 0 |
| | PixelFX game ID response length.
|
|
#define | JOYBUS_CMD_GCN_READ 0x40 |
| | GCN read command.
|
|
#define | JOYBUS_CMD_GCN_READ_TX 3 |
| | GCN read command length.
|
|
#define | JOYBUS_CMD_GCN_READ_RX 8 |
| | GCN read response length.
|
|
#define | JOYBUS_CMD_GCN_READ_ORIGIN 0x41 |
| | GCN read origin command.
|
|
#define | JOYBUS_CMD_GCN_READ_ORIGIN_TX 1 |
| | GCN read origin command length.
|
|
#define | JOYBUS_CMD_GCN_READ_ORIGIN_RX 10 |
| | GCN read origin response length.
|
|
#define | JOYBUS_CMD_GCN_CALIBRATE 0x42 |
| | GCN calibrate command.
|
|
#define | JOYBUS_CMD_GCN_CALIBRATE_TX 3 |
| | GCN calibrate command length.
|
|
#define | JOYBUS_CMD_GCN_CALIBRATE_RX 10 |
| | GCN calibrate response length.
|
|
#define | JOYBUS_CMD_GCN_READ_LONG 0x43 |
| | GCN read long command.
|
|
#define | JOYBUS_CMD_GCN_READ_LONG_TX 3 |
| | GCN read long command length.
|
|
#define | JOYBUS_CMD_GCN_READ_LONG_RX 10 |
| | GCN read long response length.
|
|
#define | JOYBUS_CMD_GCN_PROBE_DEVICE 0x4D |
| | GCN probe device command.
|
|
#define | JOYBUS_CMD_GCN_PROBE_DEVICE_TX 3 |
| | GCN probe device command length.
|
|
#define | JOYBUS_CMD_GCN_PROBE_DEVICE_RX 8 |
| | GCN probe device response length.
|
|
#define | JOYBUS_CMD_GCN_FIX_DEVICE 0x4E |
| | GCN fix device command.
|
|
#define | JOYBUS_CMD_GCN_FIX_DEVICE_TX 3 |
| | GCN fix device command length.
|
|
#define | JOYBUS_CMD_GCN_FIX_DEVICE_RX 3 |
| | GCN fix device response length.
|
|
#define | JOYBUS_CMD_GCN_KEYBOARD_READ 0x54 |
| | GCN keyboard read command.
|
|
#define | JOYBUS_CMD_GCN_KEYBOARD_READ_TX 3 |
| | GCN keyboard read command length.
|
|
#define | JOYBUS_CMD_GCN_KEYBOARD_READ_RX 8 |
| | GCN keyboard read response length.
|
Joybus command codes and transfer lengths.