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