diff options
Diffstat (limited to 'decoders/nunchuk.py')
-rw-r--r-- | decoders/nunchuk.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/nunchuk.py b/decoders/nunchuk.py index 128b10e..e53d0de 100644 --- a/decoders/nunchuk.py +++ b/decoders/nunchuk.py @@ -65,6 +65,7 @@ def sampleiter(data, unitsize): yield(Sample(data[i:i+unitsize])) class Decoder(): + id = 'nunchuk' name = 'Nunchuk' longname = 'Nintendo Wii Nunchuk decoder' desc = 'Decodes the Nintendo Wii Nunchuk I2C-based protocol.' @@ -183,3 +184,5 @@ class Decoder(): import sigrok +sigrok.register(Decoder) + |