]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/test/nunchuk/wii_nunchuk_data_right.output
nunchuk: Add a few test-cases.
[sigrok-test.git] / decoder / test / nunchuk / wii_nunchuk_data_right.output
diff --git a/decoder/test/nunchuk/wii_nunchuk_data_right.output b/decoder/test/nunchuk/wii_nunchuk_data_right.output
new file mode 100644 (file)
index 0000000..5e5476a
--- /dev/null
@@ -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"