X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fnunchuk%2F__init__.py;h=a6092c45b0c14879f552058125c2b1ef30059717;hb=8f769505a877103da9756ceb09962189eddaa057;hp=da6db065b4fc3343d630170714f61d608a510c2d;hpb=156509ca42f0df2380c9f205f9aad337e1a07802;p=libsigrokdecode.git diff --git a/decoders/nunchuk/__init__.py b/decoders/nunchuk/__init__.py index da6db06..a6092c4 100644 --- a/decoders/nunchuk/__init__.py +++ b/decoders/nunchuk/__init__.py @@ -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 ## @@ -14,14 +14,12 @@ ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +## along with this program; if not, see . ## ''' -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 +27,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