summaryrefslogtreecommitdiff
path: root/decoders/nunchuk.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2011-02-06 17:29:44 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2011-02-06 17:29:44 +0100
commit4ed59136f8033c2cb745302bfd42d359c541e64b (patch)
tree92488d4ae7807e7fc237b0360b15410194da8a48 /decoders/nunchuk.py
parent959933226cb93b87d3c07c01c8af63840200671e (diff)
downloadlibsigrokdecode-4ed59136f8033c2cb745302bfd42d359c541e64b.tar.gz
libsigrokdecode-4ed59136f8033c2cb745302bfd42d359c541e64b.zip
Python decoders: Add more metadata.
Make the list of metadata info match the spec in the wiki more closely.
Diffstat (limited to 'decoders/nunchuk.py')
-rw-r--r--decoders/nunchuk.py19
1 files changed, 16 insertions, 3 deletions
diff --git a/decoders/nunchuk.py b/decoders/nunchuk.py
index 409e120..77b154e 100644
--- a/decoders/nunchuk.py
+++ b/decoders/nunchuk.py
@@ -143,9 +143,22 @@ def register():
return {
'id': 'nunchuk',
'name': 'Nunchuk',
- 'desc': 'Nintendo Wii Nunchuk decoder',
- 'inputformats': ['i2c'],
- 'ouputformats': ['nunchuk'],
+ 'longname': 'Nintendo Wii Nunchuk decoder',
+ 'desc': 'Decodes the Nintendo Wii Nunchuk I2C-based protocol.',
+ 'longdesc': '...',
+ 'author': 'Uwe Hermann',
+ 'email': 'uwe@hermann-uwe.de',
+ 'license': 'gplv2+',
+ 'in': ['i2c'],
+ 'out': ['nunchuck'],
+ 'probes': [
+ # TODO
+ ],
+ 'options': {
+ # TODO
+ },
+ # 'start': start,
+ # 'report': report,
}
# Use psyco (if available) as it results in huge performance improvements.