diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2015-08-22 18:23:31 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2015-08-22 18:23:31 +0200 |
commit | 41aca53777324ce9c8bd5a651b8fad002c0da2e4 (patch) | |
tree | e6f2cb0513088aa20a95cbfe741c58f750bf06f9 /decoder/test/nunchuk/wii_nunchuk_orientation_vertical_top.output | |
parent | 87e6446b6ee41c40a8479906d99a9b2fd3d552a4 (diff) | |
download | sigrok-test-41aca53777324ce9c8bd5a651b8fad002c0da2e4.tar.gz sigrok-test-41aca53777324ce9c8bd5a651b8fad002c0da2e4.zip |
nunchuk: Add a few test-cases.
Diffstat (limited to 'decoder/test/nunchuk/wii_nunchuk_orientation_vertical_top.output')
-rw-r--r-- | decoder/test/nunchuk/wii_nunchuk_orientation_vertical_top.output | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/decoder/test/nunchuk/wii_nunchuk_orientation_vertical_top.output b/decoder/test/nunchuk/wii_nunchuk_orientation_vertical_top.output new file mode 100644 index 0000000..fa67eba --- /dev/null +++ b/decoder/test/nunchuk/wii_nunchuk_orientation_vertical_top.output @@ -0,0 +1,11 @@ +785188-785272 nunchuk: reg-0x00: "Analog stick X position: 0x75" "SX: 0x75" +785362-785445 nunchuk: reg-0x01: "Analog stick Y position: 0x7F" "SY: 0x7F" +785537-785619 nunchuk: reg-0x02: "Accelerometer X value bits[9:2]: 0x204" "AX[9:2]: 0x204" +785730-785812 nunchuk: reg-0x03: "Accelerometer Y value bits[9:2]: 0x1E0" "AY[9:2]: 0x1E0" +785907-785991 nunchuk: reg-0x04: "Accelerometer Z value bits[9:2]: 0x18C" "AZ[9:2]: 0x18C" +786165-786175 nunchuk: bit-bz: "Z: not pressed" "BZ: 1" +786155-786165 nunchuk: bit-bc: "C: not pressed" "BC: 1" +786134-786155 nunchuk: bit-ax: "Accelerometer X value bits[1:0]: 0x3" "AX[1:0]: 0x3" +786114-786134 nunchuk: bit-ay: "Accelerometer Y value bits[1:0]: 0x1" "AY[1:0]: 0x1" +786093-786114 nunchuk: bit-az: "Accelerometer Z value bits[1:0]: 0x1" "AZ[1:0]: 0x1" +785188-786282 nunchuk: summary: "Analog stick: 117/127, accelerometer: 519/481/397, Z: not pressed, C: not pressed" |