X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fnes_gamepad%2Fpd.py;h=b276e5db7bf173ec31b7e7ccad929ba8a5ecf8c3;hb=e144452bcdd5f2abbe6b6f3da41ad64f67e39def;hp=17c57caae63bea75bbb457afdf2998ce7ebede01;hpb=45c39fc4c6a3a7d7651ba83e24994e452f8b94a4;p=libsigrokdecode.git diff --git a/decoders/nes_gamepad/pd.py b/decoders/nes_gamepad/pd.py index 17c57ca..b276e5d 100644 --- a/decoders/nes_gamepad/pd.py +++ b/decoders/nes_gamepad/pd.py @@ -36,14 +36,14 @@ class Decoder(srd.Decoder): 'default': 'Standard gamepad', 'values': ('Standard gamepad',)}, ) annotations = ( - ('button', 'Button states'), + ('button', 'Button state'), ('no-press', 'No button press'), ('not-connected', 'Gamepad unconnected') ) annotation_rows = ( ('buttons', 'Button states', (0,)), - ('no-press', 'No button press', (1,)), - ('not-connected', 'Gamepad unconnected', (2,)), + ('no-presses', 'No button presses', (1,)), + ('not-connected-vals', 'Gamepad unconnected', (2,)), ) def __init__(self):