From: Uwe Hermann Date: Sat, 22 Aug 2015 16:23:31 +0000 (+0200) Subject: nunchuk: Add a few test-cases. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=41aca53777324ce9c8bd5a651b8fad002c0da2e4;p=sigrok-test.git nunchuk: Add a few test-cases. --- diff --git a/decoder/test/nunchuk/test.conf b/decoder/test/nunchuk/test.conf new file mode 100644 index 0000000..708dbff --- /dev/null +++ b/decoder/test/nunchuk/test.conf @@ -0,0 +1,6 @@ +test wii_nunchuk_data_button_c + protocol-decoder i2c channel scl=0 channel sda=1 + protocol-decoder nunchuk + stack i2c nunchuk + input i2c/wii_nunchuk/wii_nunchuk_data_button_c.sr + output nunchuk annotation match wii_nunchuk_data_button_c.output diff --git a/decoder/test/nunchuk/wii_nunchuk_data_bottom.output b/decoder/test/nunchuk/wii_nunchuk_data_bottom.output new file mode 100644 index 0000000..7a92f9c --- /dev/null +++ b/decoder/test/nunchuk/wii_nunchuk_data_bottom.output @@ -0,0 +1,11 @@ +858064-858146 nunchuk: reg-0x00: "Analog stick X position: 0x75" "SX: 0x75" +858244-858326 nunchuk: reg-0x01: "Analog stick Y position: 0x19" "SY: 0x19" +858420-858503 nunchuk: reg-0x02: "Accelerometer X value bits[9:2]: 0x10C" "AX[9:2]: 0x10C" +858601-858685 nunchuk: reg-0x03: "Accelerometer Y value bits[9:2]: 0x0BC" "AY[9:2]: 0x0BC" +858779-858861 nunchuk: reg-0x04: "Accelerometer Z value bits[9:2]: 0x194" "AZ[9:2]: 0x194" +859040-859050 nunchuk: bit-bz: "Z: not pressed" "BZ: 1" +859030-859040 nunchuk: bit-bc: "C: not pressed" "BC: 1" +859009-859030 nunchuk: bit-ax: "Accelerometer X value bits[1:0]: 0x0" "AX[1:0]: 0x0" +858988-859009 nunchuk: bit-ay: "Accelerometer Y value bits[1:0]: 0x2" "AY[1:0]: 0x2" +858968-858988 nunchuk: bit-az: "Accelerometer Z value bits[1:0]: 0x2" "AZ[1:0]: 0x2" +858064-859154 nunchuk: summary: "Analog stick: 117/25, accelerometer: 268/190/406, Z: not pressed, C: not pressed" diff --git a/decoder/test/nunchuk/wii_nunchuk_data_button_c.output b/decoder/test/nunchuk/wii_nunchuk_data_button_c.output new file mode 100644 index 0000000..ae590cc --- /dev/null +++ b/decoder/test/nunchuk/wii_nunchuk_data_button_c.output @@ -0,0 +1,11 @@ +549872-549954 nunchuk: reg-0x00: "Analog stick X position: 0x75" "SX: 0x75" +550045-550129 nunchuk: reg-0x01: "Analog stick Y position: 0x7F" "SY: 0x7F" +550221-550303 nunchuk: reg-0x02: "Accelerometer X value bits[9:2]: 0x1C0" "AX[9:2]: 0x1C0" +550405-550489 nunchuk: reg-0x03: "Accelerometer Y value bits[9:2]: 0x158" "AY[9:2]: 0x158" +550583-550665 nunchuk: reg-0x04: "Accelerometer Z value bits[9:2]: 0x27C" "AZ[9:2]: 0x27C" +550841-550851 nunchuk: bit-bz: "Z: not pressed" "BZ: 1" +550831-550841 nunchuk: bit-bc: "C: pressed" "BC: 0" +550810-550831 nunchuk: bit-ax: "Accelerometer X value bits[1:0]: 0x3" "AX[1:0]: 0x3" +550790-550810 nunchuk: bit-ay: "Accelerometer Y value bits[1:0]: 0x2" "AY[1:0]: 0x2" +550769-550790 nunchuk: bit-az: "Accelerometer Z value bits[1:0]: 0x3" "AZ[1:0]: 0x3" +549872-550959 nunchuk: summary: "Analog stick: 117/127, accelerometer: 451/346/639, Z: not pressed, C: pressed" diff --git a/decoder/test/nunchuk/wii_nunchuk_data_button_z.output b/decoder/test/nunchuk/wii_nunchuk_data_button_z.output new file mode 100644 index 0000000..37aec23 --- /dev/null +++ b/decoder/test/nunchuk/wii_nunchuk_data_button_z.output @@ -0,0 +1,11 @@ +697112-697194 nunchuk: reg-0x00: "Analog stick X position: 0x75" "SX: 0x75" +697285-697369 nunchuk: reg-0x01: "Analog stick Y position: 0x7F" "SY: 0x7F" +697463-697547 nunchuk: reg-0x02: "Accelerometer X value bits[9:2]: 0x200" "AX[9:2]: 0x200" +697645-697727 nunchuk: reg-0x03: "Accelerometer Y value bits[9:2]: 0x1E0" "AY[9:2]: 0x1E0" +697823-697905 nunchuk: reg-0x04: "Accelerometer Z value bits[9:2]: 0x190" "AZ[9:2]: 0x190" +698084-698095 nunchuk: bit-bz: "Z: pressed" "BZ: 0" +698073-698084 nunchuk: bit-bc: "C: pressed" "BC: 0" +698053-698073 nunchuk: bit-ax: "Accelerometer X value bits[1:0]: 0x3" "AX[1:0]: 0x3" +698032-698053 nunchuk: bit-ay: "Accelerometer Y value bits[1:0]: 0x2" "AY[1:0]: 0x2" +698012-698032 nunchuk: bit-az: "Accelerometer Z value bits[1:0]: 0x1" "AZ[1:0]: 0x1" +697112-698198 nunchuk: summary: "Analog stick: 117/127, accelerometer: 515/482/401, Z: pressed, C: pressed" diff --git a/decoder/test/nunchuk/wii_nunchuk_data_idle.output b/decoder/test/nunchuk/wii_nunchuk_data_idle.output new file mode 100644 index 0000000..9addc11 --- /dev/null +++ b/decoder/test/nunchuk/wii_nunchuk_data_idle.output @@ -0,0 +1,11 @@ +773093-773175 nunchuk: reg-0x00: "Analog stick X position: 0x74" "SX: 0x74" +773266-773348 nunchuk: reg-0x01: "Analog stick Y position: 0x7F" "SY: 0x7F" +773441-773525 nunchuk: reg-0x02: "Accelerometer X value bits[9:2]: 0x1EC" "AX[9:2]: 0x1EC" +773634-773716 nunchuk: reg-0x03: "Accelerometer Y value bits[9:2]: 0x080" "AY[9:2]: 0x080" +773812-773894 nunchuk: reg-0x04: "Accelerometer Z value bits[9:2]: 0x1F4" "AZ[9:2]: 0x1F4" +774070-774080 nunchuk: bit-bz: "Z: not pressed" "BZ: 1" +774060-774070 nunchuk: bit-bc: "C: not pressed" "BC: 1" +774039-774060 nunchuk: bit-ax: "Accelerometer X value bits[1:0]: 0x1" "AX[1:0]: 0x1" +774018-774039 nunchuk: bit-ay: "Accelerometer Y value bits[1:0]: 0x0" "AY[1:0]: 0x0" +773998-774018 nunchuk: bit-az: "Accelerometer Z value bits[1:0]: 0x3" "AZ[1:0]: 0x3" +773093-774187 nunchuk: summary: "Analog stick: 116/127, accelerometer: 493/128/503, Z: not pressed, C: not pressed" diff --git a/decoder/test/nunchuk/wii_nunchuk_data_left.output b/decoder/test/nunchuk/wii_nunchuk_data_left.output new file mode 100644 index 0000000..c18434e --- /dev/null +++ b/decoder/test/nunchuk/wii_nunchuk_data_left.output @@ -0,0 +1,11 @@ +608407-608489 nunchuk: reg-0x00: "Analog stick X position: 0x12" "SX: 0x12" +608581-608664 nunchuk: reg-0x01: "Analog stick Y position: 0x7C" "SY: 0x7C" +608754-608838 nunchuk: reg-0x02: "Accelerometer X value bits[9:2]: 0x120" "AX[9:2]: 0x120" +608936-609020 nunchuk: reg-0x03: "Accelerometer Y value bits[9:2]: 0x0B0" "AY[9:2]: 0x0B0" +609114-609196 nunchuk: reg-0x04: "Accelerometer Z value bits[9:2]: 0x25C" "AZ[9:2]: 0x25C" +609371-609381 nunchuk: bit-bz: "Z: not pressed" "BZ: 1" +609361-609371 nunchuk: bit-bc: "C: not pressed" "BC: 1" +609340-609361 nunchuk: bit-ax: "Accelerometer X value bits[1:0]: 0x3" "AX[1:0]: 0x3" +609319-609340 nunchuk: bit-ay: "Accelerometer Y value bits[1:0]: 0x2" "AY[1:0]: 0x2" +609299-609319 nunchuk: bit-az: "Accelerometer Z value bits[1:0]: 0x0" "AZ[1:0]: 0x0" +608407-609485 nunchuk: summary: "Analog stick: 18/124, accelerometer: 291/178/604, Z: not pressed, C: not pressed" diff --git a/decoder/test/nunchuk/wii_nunchuk_data_right.output b/decoder/test/nunchuk/wii_nunchuk_data_right.output new file mode 100644 index 0000000..5e5476a --- /dev/null +++ b/decoder/test/nunchuk/wii_nunchuk_data_right.output @@ -0,0 +1,11 @@ +573822-573904 nunchuk: reg-0x00: "Analog stick X position: 0xD6" "SX: 0xD6" +573995-574077 nunchuk: reg-0x01: "Analog stick Y position: 0x61" "SY: 0x61" +574170-574252 nunchuk: reg-0x02: "Accelerometer X value bits[9:2]: 0x138" "AX[9:2]: 0x138" +574363-574445 nunchuk: reg-0x03: "Accelerometer Y value bits[9:2]: 0x0A0" "AY[9:2]: 0x0A0" +574541-574623 nunchuk: reg-0x04: "Accelerometer Z value bits[9:2]: 0x24C" "AZ[9:2]: 0x24C" +574799-574810 nunchuk: bit-bz: "Z: not pressed" "BZ: 1" +574788-574799 nunchuk: bit-bc: "C: not pressed" "BC: 1" +574768-574788 nunchuk: bit-ax: "Accelerometer X value bits[1:0]: 0x2" "AX[1:0]: 0x2" +574747-574768 nunchuk: bit-ay: "Accelerometer Y value bits[1:0]: 0x2" "AY[1:0]: 0x2" +574727-574747 nunchuk: bit-az: "Accelerometer Z value bits[1:0]: 0x0" "AZ[1:0]: 0x0" +573822-574915 nunchuk: summary: "Analog stick: 214/97, accelerometer: 314/162/588, Z: not pressed, C: not pressed" diff --git a/decoder/test/nunchuk/wii_nunchuk_data_top.output b/decoder/test/nunchuk/wii_nunchuk_data_top.output new file mode 100644 index 0000000..c14aa10 --- /dev/null +++ b/decoder/test/nunchuk/wii_nunchuk_data_top.output @@ -0,0 +1,11 @@ +619914-619996 nunchuk: reg-0x00: "Analog stick X position: 0x74" "SX: 0x74" +620091-620175 nunchuk: reg-0x01: "Analog stick Y position: 0x7E" "SY: 0x7E" +620267-620350 nunchuk: reg-0x02: "Accelerometer X value bits[9:2]: 0x238" "AX[9:2]: 0x238" +620457-620539 nunchuk: reg-0x03: "Accelerometer Y value bits[9:2]: 0x1C0" "AY[9:2]: 0x1C0" +620635-620717 nunchuk: reg-0x04: "Accelerometer Z value bits[9:2]: 0x120" "AZ[9:2]: 0x120" +620893-620903 nunchuk: bit-bz: "Z: not pressed" "BZ: 1" +620883-620893 nunchuk: bit-bc: "C: not pressed" "BC: 1" +620862-620883 nunchuk: bit-ax: "Accelerometer X value bits[1:0]: 0x1" "AX[1:0]: 0x1" +620841-620862 nunchuk: bit-ay: "Accelerometer Y value bits[1:0]: 0x1" "AY[1:0]: 0x1" +620821-620841 nunchuk: bit-az: "Accelerometer Z value bits[1:0]: 0x2" "AZ[1:0]: 0x2" +619914-621007 nunchuk: summary: "Analog stick: 116/126, accelerometer: 569/449/290, Z: not pressed, C: not pressed" diff --git a/decoder/test/nunchuk/wii_nunchuk_init.output b/decoder/test/nunchuk/wii_nunchuk_init.output new file mode 100644 index 0000000..7d7181a --- /dev/null +++ b/decoder/test/nunchuk/wii_nunchuk_init.output @@ -0,0 +1,3 @@ +646327-646410 nunchuk: nunchuk-write: "Nunchuk write: 0x40" +646591-646673 nunchuk: nunchuk-write: "Nunchuk write: 0x00" +645807-646743 nunchuk: cmd-init: "Initialize Nunchuk" "Init Nunchuk" "Init" "I" diff --git a/decoder/test/nunchuk/wii_nunchuk_init_reg_3xdata.output b/decoder/test/nunchuk/wii_nunchuk_init_reg_3xdata.output new file mode 100644 index 0000000..247cc28 --- /dev/null +++ b/decoder/test/nunchuk/wii_nunchuk_init_reg_3xdata.output @@ -0,0 +1,40 @@ +2143597-2143681 nunchuk: nunchuk-write: "Nunchuk write: 0x40" +2143867-2143949 nunchuk: nunchuk-write: "Nunchuk write: 0x00" +2143080-2144019 nunchuk: cmd-init: "Initialize Nunchuk" "Init Nunchuk" "Init" "I" +4287131-4287213 nunchuk: nunchuk-write: "Nunchuk write: 0x00" +4286609-4287286 nunchuk: warnings: "Init sequence was 1 bytes long (2 expected)" +6240397-6240479 nunchuk: reg-0x00: "Analog stick X position: 0x75" "SX: 0x75" +6240570-6240652 nunchuk: reg-0x01: "Analog stick Y position: 0x7F" "SY: 0x7F" +6240751-6240834 nunchuk: reg-0x02: "Accelerometer X value bits[9:2]: 0x1DC" "AX[9:2]: 0x1DC" +6240927-6241009 nunchuk: reg-0x03: "Accelerometer Y value bits[9:2]: 0x13C" "AY[9:2]: 0x13C" +6241105-6241188 nunchuk: reg-0x04: "Accelerometer Z value bits[9:2]: 0x208" "AZ[9:2]: 0x208" +6241362-6241372 nunchuk: bit-bz: "Z: not pressed" "BZ: 1" +6241352-6241362 nunchuk: bit-bc: "C: not pressed" "BC: 1" +6241331-6241352 nunchuk: bit-ax: "Accelerometer X value bits[1:0]: 0x2" "AX[1:0]: 0x2" +6241311-6241331 nunchuk: bit-ay: "Accelerometer Y value bits[1:0]: 0x3" "AY[1:0]: 0x3" +6241290-6241311 nunchuk: bit-az: "Accelerometer Z value bits[1:0]: 0x0" "AZ[1:0]: 0x0" +6240397-6241476 nunchuk: summary: "Analog stick: 117/127, accelerometer: 478/319/520, Z: not pressed, C: not pressed" +8450279-8450361 nunchuk: nunchuk-write: "Nunchuk write: 0x00" +8449754-8450427 nunchuk: warnings: "Init sequence was 1 bytes long (2 expected)" +9609986-9610068 nunchuk: reg-0x01: "Analog stick Y position: 0x75" "SY: 0x75" +9610159-9610243 nunchuk: reg-0x02: "Accelerometer X value bits[9:2]: 0x1FC" "AX[9:2]: 0x1FC" +9610337-9610419 nunchuk: reg-0x03: "Accelerometer Y value bits[9:2]: 0x1D4" "AY[9:2]: 0x1D4" +9610527-9610611 nunchuk: reg-0x04: "Accelerometer Z value bits[9:2]: 0x110" "AZ[9:2]: 0x110" +9610777-9610787 nunchuk: bit-bz: "Z: pressed" "BZ: 0" +9610767-9610777 nunchuk: bit-bc: "C: not pressed" "BC: 1" +9610746-9610767 nunchuk: bit-ax: "Accelerometer X value bits[1:0]: 0x0" "AX[1:0]: 0x0" +9610726-9610746 nunchuk: bit-ay: "Accelerometer Y value bits[1:0]: 0x0" "AY[1:0]: 0x0" +9610705-9610726 nunchuk: bit-az: "Accelerometer Z value bits[1:0]: 0x2" "AZ[1:0]: 0x2" +9610898-9610980 nunchuk: reg-0x01: "Analog stick Y position: 0x34" "SY: 0x34" +11651203-11651285 nunchuk: nunchuk-write: "Nunchuk write: 0x00" +11650678-11651354 nunchuk: warnings: "Init sequence was 1 bytes long (2 expected)" +12808919-12809002 nunchuk: reg-0x02: "Accelerometer X value bits[9:2]: 0x1D4" "AX[9:2]: 0x1D4" +12809092-12809175 nunchuk: reg-0x03: "Accelerometer Y value bits[9:2]: 0x1FC" "AY[9:2]: 0x1FC" +12809267-12809349 nunchuk: reg-0x04: "Accelerometer Z value bits[9:2]: 0x1DC" "AZ[9:2]: 0x1DC" +12809521-12809531 nunchuk: bit-bz: "Z: not pressed" "BZ: 1" +12809511-12809521 nunchuk: bit-bc: "C: not pressed" "BC: 1" +12809490-12809511 nunchuk: bit-ax: "Accelerometer X value bits[1:0]: 0x0" "AX[1:0]: 0x0" +12809469-12809490 nunchuk: bit-ay: "Accelerometer Y value bits[1:0]: 0x0" "AY[1:0]: 0x0" +12809449-12809469 nunchuk: bit-az: "Accelerometer Z value bits[1:0]: 0x1" "AZ[1:0]: 0x1" +12809626-12809710 nunchuk: reg-0x01: "Analog stick Y position: 0x83" "SY: 0x83" +12809812-12809894 nunchuk: reg-0x02: "Accelerometer X value bits[9:2]: 0x174" "AX[9:2]: 0x174" diff --git a/decoder/test/nunchuk/wii_nunchuk_orientation_horizontal_left.output b/decoder/test/nunchuk/wii_nunchuk_orientation_horizontal_left.output new file mode 100644 index 0000000..84b96d9 --- /dev/null +++ b/decoder/test/nunchuk/wii_nunchuk_orientation_horizontal_left.output @@ -0,0 +1,11 @@ +874049-874131 nunchuk: reg-0x00: "Analog stick X position: 0x75" "SX: 0x75" +874225-874307 nunchuk: reg-0x01: "Analog stick Y position: 0x7F" "SY: 0x7F" +874400-874482 nunchuk: reg-0x02: "Accelerometer X value bits[9:2]: 0x094" "AX[9:2]: 0x094" +874582-874664 nunchuk: reg-0x03: "Accelerometer Y value bits[9:2]: 0x1F8" "AY[9:2]: 0x1F8" +874762-874844 nunchuk: reg-0x04: "Accelerometer Z value bits[9:2]: 0x1EC" "AZ[9:2]: 0x1EC" +875020-875030 nunchuk: bit-bz: "Z: not pressed" "BZ: 1" +875010-875020 nunchuk: bit-bc: "C: not pressed" "BC: 1" +874989-875010 nunchuk: bit-ax: "Accelerometer X value bits[1:0]: 0x2" "AX[1:0]: 0x2" +874969-874989 nunchuk: bit-ay: "Accelerometer Y value bits[1:0]: 0x2" "AY[1:0]: 0x2" +874948-874969 nunchuk: bit-az: "Accelerometer Z value bits[1:0]: 0x3" "AZ[1:0]: 0x3" +874049-875134 nunchuk: summary: "Analog stick: 117/127, accelerometer: 150/506/495, Z: not pressed, C: not pressed" diff --git a/decoder/test/nunchuk/wii_nunchuk_orientation_horizontal_right.output b/decoder/test/nunchuk/wii_nunchuk_orientation_horizontal_right.output new file mode 100644 index 0000000..9f42398 --- /dev/null +++ b/decoder/test/nunchuk/wii_nunchuk_orientation_horizontal_right.output @@ -0,0 +1,11 @@ +481430-481513 nunchuk: reg-0x00: "Analog stick X position: 0x75" "SX: 0x75" +481603-481685 nunchuk: reg-0x01: "Analog stick Y position: 0x7F" "SY: 0x7F" +481778-481860 nunchuk: reg-0x02: "Accelerometer X value bits[9:2]: 0x23C" "AX[9:2]: 0x23C" +481960-482042 nunchuk: reg-0x03: "Accelerometer Y value bits[9:2]: 0x1F8" "AY[9:2]: 0x1F8" +482138-482220 nunchuk: reg-0x04: "Accelerometer Z value bits[9:2]: 0x1D4" "AZ[9:2]: 0x1D4" +482398-482408 nunchuk: bit-bz: "Z: not pressed" "BZ: 1" +482388-482398 nunchuk: bit-bc: "C: not pressed" "BC: 1" +482367-482388 nunchuk: bit-ax: "Accelerometer X value bits[1:0]: 0x2" "AX[1:0]: 0x2" +482347-482367 nunchuk: bit-ay: "Accelerometer Y value bits[1:0]: 0x0" "AY[1:0]: 0x0" +482326-482347 nunchuk: bit-az: "Accelerometer Z value bits[1:0]: 0x1" "AZ[1:0]: 0x1" +481430-482512 nunchuk: summary: "Analog stick: 117/127, accelerometer: 574/504/469, Z: not pressed, C: not pressed" diff --git a/decoder/test/nunchuk/wii_nunchuk_orientation_vertical_bottom.output b/decoder/test/nunchuk/wii_nunchuk_orientation_vertical_bottom.output new file mode 100644 index 0000000..2e09c23 --- /dev/null +++ b/decoder/test/nunchuk/wii_nunchuk_orientation_vertical_bottom.output @@ -0,0 +1,11 @@ +797918-798000 nunchuk: reg-0x00: "Analog stick X position: 0x75" "SX: 0x75" +798095-798177 nunchuk: reg-0x01: "Analog stick Y position: 0x7F" "SY: 0x7F" +798270-798352 nunchuk: reg-0x02: "Accelerometer X value bits[9:2]: 0x1C4" "AX[9:2]: 0x1C4" +798452-798534 nunchuk: reg-0x03: "Accelerometer Y value bits[9:2]: 0x20C" "AY[9:2]: 0x20C" +798632-798716 nunchuk: reg-0x04: "Accelerometer Z value bits[9:2]: 0x174" "AZ[9:2]: 0x174" +798890-798900 nunchuk: bit-bz: "Z: not pressed" "BZ: 1" +798880-798890 nunchuk: bit-bc: "C: not pressed" "BC: 1" +798859-798880 nunchuk: bit-ax: "Accelerometer X value bits[1:0]: 0x0" "AX[1:0]: 0x0" +798839-798859 nunchuk: bit-ay: "Accelerometer Y value bits[1:0]: 0x1" "AY[1:0]: 0x1" +798818-798839 nunchuk: bit-az: "Accelerometer Z value bits[1:0]: 0x3" "AZ[1:0]: 0x3" +797918-799004 nunchuk: summary: "Analog stick: 117/127, accelerometer: 452/525/375, Z: not pressed, C: not pressed" diff --git a/decoder/test/nunchuk/wii_nunchuk_orientation_vertical_set_reg.output b/decoder/test/nunchuk/wii_nunchuk_orientation_vertical_set_reg.output new file mode 100644 index 0000000..108cc03 --- /dev/null +++ b/decoder/test/nunchuk/wii_nunchuk_orientation_vertical_set_reg.output @@ -0,0 +1,2 @@ +889066-889148 nunchuk: nunchuk-write: "Nunchuk write: 0x00" +888548-889214 nunchuk: warnings: "Init sequence was 1 bytes long (2 expected)" diff --git a/decoder/test/nunchuk/wii_nunchuk_orientation_vertical_top.output b/decoder/test/nunchuk/wii_nunchuk_orientation_vertical_top.output new file mode 100644 index 0000000..fa67eba --- /dev/null +++ b/decoder/test/nunchuk/wii_nunchuk_orientation_vertical_top.output @@ -0,0 +1,11 @@ +785188-785272 nunchuk: reg-0x00: "Analog stick X position: 0x75" "SX: 0x75" +785362-785445 nunchuk: reg-0x01: "Analog stick Y position: 0x7F" "SY: 0x7F" +785537-785619 nunchuk: reg-0x02: "Accelerometer X value bits[9:2]: 0x204" "AX[9:2]: 0x204" +785730-785812 nunchuk: reg-0x03: "Accelerometer Y value bits[9:2]: 0x1E0" "AY[9:2]: 0x1E0" +785907-785991 nunchuk: reg-0x04: "Accelerometer Z value bits[9:2]: 0x18C" "AZ[9:2]: 0x18C" +786165-786175 nunchuk: bit-bz: "Z: not pressed" "BZ: 1" +786155-786165 nunchuk: bit-bc: "C: not pressed" "BC: 1" +786134-786155 nunchuk: bit-ax: "Accelerometer X value bits[1:0]: 0x3" "AX[1:0]: 0x3" +786114-786134 nunchuk: bit-ay: "Accelerometer Y value bits[1:0]: 0x1" "AY[1:0]: 0x1" +786093-786114 nunchuk: bit-az: "Accelerometer Z value bits[1:0]: 0x1" "AZ[1:0]: 0x1" +785188-786282 nunchuk: summary: "Analog stick: 117/127, accelerometer: 519/481/397, Z: not pressed, C: not pressed"