diff options
Diffstat (limited to 'decoder/test/nes_gamepad')
-rw-r--r-- | decoder/test/nes_gamepad/nes_gamepad_generated_a.output | 1 | ||||
-rw-r--r-- | decoder/test/nes_gamepad/test.conf | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/decoder/test/nes_gamepad/nes_gamepad_generated_a.output b/decoder/test/nes_gamepad/nes_gamepad_generated_a.output new file mode 100644 index 0000000..e638786 --- /dev/null +++ b/decoder/test/nes_gamepad/nes_gamepad_generated_a.output @@ -0,0 +1 @@ +154-399 nes_gamepad: button: "A" diff --git a/decoder/test/nes_gamepad/test.conf b/decoder/test/nes_gamepad/test.conf new file mode 100644 index 0000000..fd3d050 --- /dev/null +++ b/decoder/test/nes_gamepad/test.conf @@ -0,0 +1,6 @@ +test nes_gamepad_generated_a + protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1 + protocol-decoder nes_gamepad + stack spi nes_gamepad + input spi/nes_gamepad/nes_gamepad_generated/a.sr + output nes_gamepad annotation match nes_gamepad_generated_a.output |