]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/nunchuk/pd.py
All PDs: Consistent naming/case for annotation shortnames/IDs.
[libsigrokdecode.git] / decoders / nunchuk / pd.py
index a34b68fcebee2f461202191bec5c9a91cd9d71b0..01563c28a17b4a0dfe8eb749beddd43a4efd6e82 100644 (file)
@@ -18,8 +18,6 @@
 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 ##
 
-# Nintendo Wii Nunchuk protocol decoder
-
 import sigrokdecode as srd
 
 class Decoder(srd.Decoder):
@@ -35,9 +33,9 @@ class Decoder(srd.Decoder):
     optional_probes = []
     options = {}
     annotations = [
-        ['Text (verbose)', 'Human-readable text (verbose)'],
-        ['Text', 'Human-readable text'],
-        ['Warnings', 'Human-readable warnings'],
+        ['text-verbose', 'Human-readable text (verbose)'],
+        ['text', 'Human-readable text'],
+        ['warnings', 'Human-readable warnings'],
     ]
 
     def __init__(self, **kwargs):