X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Fnunchuk%2F__init__.py;h=a6092c45b0c14879f552058125c2b1ef30059717;hp=6772ba76ce6f19bdfc6126407f82cad2c88e40a0;hb=039b0db244e2e592a581a6c9b79a934bde136569;hpb=64c29e28e0efa184319f7831b3eca18c7f73f7d0 diff --git a/decoders/nunchuk/__init__.py b/decoders/nunchuk/__init__.py index 6772ba7..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,9 +14,17 @@ ## 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 . ## -from .nunchuk import * +''' +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 +http://todbot.com/blog/2008/02/18/wiichuck-wii-nunchuck-adapter-available/ +https://www.sparkfun.com/products/9281 +''' + +from .pd import Decoder