]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/nunchuk/__init__.py
All PDs: Only import the 'Decoder' object.
[libsigrokdecode.git] / decoders / nunchuk / __init__.py
index da6db065b4fc3343d630170714f61d608a510c2d..c5791455d8df127c25635c15bf40d1f44c8d192e 100644 (file)
@@ -1,5 +1,5 @@
 ##
-## This file is part of the sigrok project.
+## This file is part of the libsigrokdecode project.
 ##
 ## Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de>
 ##
@@ -19,9 +19,8 @@
 ##
 
 '''
-Nintendo Wii Nunchuk decoder.
-
-TODO: Description.
+This decoder stacks on top of the 'i2c' PD and decodes the Nintendo Wii
+Nunchuk controller protocol.
 
 Details:
 http://wiibrew.org/wiki/Wiimote/Extension_Controllers/Nunchuck
@@ -29,5 +28,4 @@ http://todbot.com/blog/2008/02/18/wiichuck-wii-nunchuck-adapter-available/
 https://www.sparkfun.com/products/9281
 '''
 
-from .nunchuk import *
-
+from .pd import Decoder