Joybus Protocol: Difference between revisions

Added additional details about the 0xFF and 0x00 commands.
(Added the rest of the known commands. Also added an image and some page links.)
(Added additional details about the 0xFF and 0x00 commands.)
Line 51:
== Additional Command Details ==
==== 0xFF - Reset / Info ====
While identical to 0x00 in what data is returned to the console, if a device has an intended reset function, it should be performed when this command is sent. The N64 controller for example will reset the internal position of its analog stick to (0, 0), essentially recalibrating it. Other devices may have similar functionality, or none at all, but either way they should still send back the same data as if the 0x00 command was sent.
 
==== 0x00 - Info ====
This command requests information about the device. The N64 a 2-byte identifier and 1 byte of extra data.
{| class="wikitable"
! Identifier
! Console
! Device
{{ProtocolIdentifierRow| 0x0500 | N64 | Controller }}
{{ProtocolIdentifierRow| 0x0001 | N64 | VRU }}
{{ProtocolIdentifierRow| 0x0200 | N64 | Mouse }}
{{ProtocolIdentifierRow| 0x0002 | N64 | Randnet Keyboard }}
{{ProtocolIdentifierRow| 0x2004{{sup|†}} | N64 | Densha de Go }}
{{ProtocolIdentifierRow| 0x0004 | GBA | Game Boy Advance }}
{{ProtocolIdentifierRow| 0x0900{{sup|†}} | GC | Controller }}
{{ProtocolIdentifierRow| 0x8800{{sup|†}} | GC | Receiver }}
{{ProtocolIdentifierRow| 0x8B10{{sup|†}} | GC | Wavebird }}
{{ProtocolIdentifierRow| 0x0800{{sup|†}} | GC | Steering Wheel }}
{{ProtocolIdentifierRow| 0x0802{{sup|†}} | GC | Keyboard }}
{{ProtocolIdentifierRow| 0x0808{{sup|†}} | GC | Dance Mat }}
|}
<small>'''''{{sup|†}}''' Requires verification yet.''</small>
 
==== 0x01 - Controller State ====
==== 0x02 - Read Controller Accessory ====