First page Back Continue Last page Graphics
Nunchuk Controller State
6-byte current state of device:
- 0x00: X-axis value of analog stick
- 0x01: Y-axis value of analog stick
- 0x02: Accelerometer X-axis acceleration value
- 0x03: Accelerometer Y-axis acceleration value
- 0x04: Accelerometer Z-axis acceleration value
- 0x05: Button state bitmask:
- Bit 0: Z button
- Bit 1: C button
- Bits 2-3: LSBs from X-axis accelerometer
- Bits 4-5: LSBs from Y-axis accelerometer
- Bits 6-7: LSBs from Z-axis accelerometer