summaryrefslogtreecommitdiff
path: root/decoders/nunchuk
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-02-01 22:23:03 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-02-01 23:18:25 +0100
commit156509ca42f0df2380c9f205f9aad337e1a07802 (patch)
tree84e010c7330c12f197228937324c03979ab7f598 /decoders/nunchuk
parent94bbdb9a4146ec5eaa56411706dc92de3a92f2d8 (diff)
downloadlibsigrokdecode-156509ca42f0df2380c9f205f9aad337e1a07802.tar.gz
libsigrokdecode-156509ca42f0df2380c9f205f9aad337e1a07802.zip
srd: Move all protocol docs to __init__.py files.
Diffstat (limited to 'decoders/nunchuk')
-rw-r--r--decoders/nunchuk/__init__.py11
-rw-r--r--decoders/nunchuk/nunchuk.py12
2 files changed, 12 insertions, 11 deletions
diff --git a/decoders/nunchuk/__init__.py b/decoders/nunchuk/__init__.py
index 6772ba7..da6db06 100644
--- a/decoders/nunchuk/__init__.py
+++ b/decoders/nunchuk/__init__.py
@@ -18,5 +18,16 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+'''
+Nintendo Wii Nunchuk decoder.
+
+TODO: Description.
+
+Details:
+http://wiibrew.org/wiki/Wiimote/Extension_Controllers/Nunchuck
+http://todbot.com/blog/2008/02/18/wiichuck-wii-nunchuck-adapter-available/
+https://www.sparkfun.com/products/9281
+'''
+
from .nunchuk import *
diff --git a/decoders/nunchuk/nunchuk.py b/decoders/nunchuk/nunchuk.py
index db40d35..f901905 100644
--- a/decoders/nunchuk/nunchuk.py
+++ b/decoders/nunchuk/nunchuk.py
@@ -18,17 +18,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-#
-# Nintendo Wii Nunchuk decoder
-#
-
-#
-# TODO: Description
-#
-# http://wiibrew.org/wiki/Wiimote/Extension_Controllers/Nunchuck
-# http://todbot.com/blog/2008/02/18/wiichuck-wii-nunchuck-adapter-available/
-# https://www.sparkfun.com/products/9281
-#
+# Nintendo Wii Nunchuk protocol decoder
import sigrokdecode as srd