]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/test/nunchuk/wii_nunchuk_data_bottom.output
nunchuk: Add a few test-cases.
[sigrok-test.git] / decoder / test / nunchuk / wii_nunchuk_data_bottom.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 (file)
index 0000000..7a92f9c
--- /dev/null
@@ -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"