In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Wiimote/Extension Controllers/TaTaCon: Difference between revisions

From WiiBrew
Jump to navigation Jump to search
←Created page with 'This Drum is identified by the '''6''' bytes: 0000 A420 0111 at register address 0x(4)a400fa. == Data Format == The Drum reports its information as a single byte of data, ...'
 
m Data Format: fix byte number
Line 19: Line 19:
| style="border: 1px solid #ccc; padding: 0.2em; width:3.3em;" | '''0'''
| style="border: 1px solid #ccc; padding: 0.2em; width:3.3em;" | '''0'''
|- style="background-color: #ded;"
|- style="background-color: #ded;"
| style="border: 1px solid #ccc; padding: 0.2em; background-color: #eee;" | 4
| style="border: 1px solid #ccc; padding: 0.2em; background-color: #eee;" | 0
| style="border: 1px solid #ccc; padding: 0.2em; background-color: #ddd; color:#888;" | 1
| style="border: 1px solid #ccc; padding: 0.2em; background-color: #ddd; color:#888;" | 1
| style="border: 1px solid #ccc; padding: 0.2em;" | '''C'''<span style="color: #c00;">L</span>
| style="border: 1px solid #ccc; padding: 0.2em;" | '''C'''<span style="color: #c00;">L</span>

Revision as of 15:36, 1 January 2015

This Drum is identified by the 6 bytes: 0000 A420 0111 at register address 0x(4)a400fa.

Data Format

The Drum reports its information as a single byte of data, readable at 0x(4)a40005. The data is packed into the byte as follows (after decryption):

  Bit
Byte 7 6 5 4 3 2 1 0
0 1 CL RL CR RR 1 1 1

CL/R is the center of the drum (left/right side). RL/R is the rim of the drum (left/right side). These bits are inverted i.e. a hit clears the bit.