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