diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2019-12-30 18:33:32 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2020-01-01 01:59:46 +0100 |
commit | e144452bcdd5f2abbe6b6f3da41ad64f67e39def (patch) | |
tree | c6bfbc9325b8dca5f6a8dd196ae434bda5126e41 /decoders/nes_gamepad | |
parent | a0cbf8298d761a3615fe3c9c444b7517b437920f (diff) | |
download | libsigrokdecode-e144452bcdd5f2abbe6b6f3da41ad64f67e39def.tar.gz libsigrokdecode-e144452bcdd5f2abbe6b6f3da41ad64f67e39def.zip |
All PDs: Consistently use singular/plural for annotation classes/rows.
Diffstat (limited to 'decoders/nes_gamepad')
-rw-r--r-- | decoders/nes_gamepad/pd.py | 6 |
1 files changed, 3 insertions, 3 deletions
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): |