Default:
1111 1111 1111 1111 (FF or 255) - Control Pad and A,B, and C buttons
1111 1111 1111 1111 (FF or 255) - Select, Start, and Trigger (anything else?)
0000 0000 0000 0001 (01 or 1) - Unknown, suspect X-Axis
0000 0000 0000 0000 (zero) - Unknown?
0000 0000 0000 0101 (05 or 5) - Unknown, suspect Y-Axis
0000 0000 0000 0000 (zero) - Unknown?
So we have 6 octets (actually bytes...I'm used to saing octets from subnetting!). It could be that the buttons are 8-bit and the
X and Y axis are 16 bits each. 8-Bit has values of 0-255 for a total of 256 possible
values, whereas 16 -bit would be 0-65535, or a total of 65536 possible values.
I won't know for sure until I can hack up a little tracking program, but here's
the data I already have in binary notation, masked off by byte:
First, a lookup table to keep things simple for the binary-impared:
0000 - 0
0001 - 1
0010 - 2
0011 - 3
0100 - 4
0101 - 5
0110 - 6
0111 - 7
1000 - 8
1001 - 9
1010 - A
1011 - B
1100 - C
1101 - D
1110 - E
1111 - F
The following has been edited. Thanks to Waremonger for correcting me on sig figs. :)
First Byte (Control Pad Nibble)
0111 1111 - Left - bit 8
1011 1111 - Down - bit 7
1101 1111 - Right - bit 6
1110 1111 - Up - bit 5
1111 1111 - Nothing Pressed
First Byte (Buttons Nibble)
1111 0111 - A - bit 4
1111 1011 - B - bit 3
1111 1101 - C - bit 2
1111 1110 - ? - bit 1
1111 1111 - Nothing Pressed
Second Byte (Select, Start, Trigger Nibble)
0111 1111 - Start - bit 8
1011 1111 - Select - bit 7
1101 1111 - Trigger - bit 6
1110 1111 - ? - bit 5
1111 1111 - Nothing Pressed
So what it boils down to here is that all bits default to on, and
when a button is pressed, that button switches to a 0.
For example, up is 1110 (bit 1), and right is 1101 (bit 2), if I want up-right,
I get 1100, as the 1st and 2nd bits become 0's.
So....yay! It's starting to make sense.
2 bytes down, 3 bytes to go.