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