From e144452bcdd5f2abbe6b6f3da41ad64f67e39def Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 30 Dec 2019 18:33:32 +0100 Subject: All PDs: Consistently use singular/plural for annotation classes/rows. --- decoders/nes_gamepad/pd.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'decoders/nes_gamepad') 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): -- cgit v1.2.3-70-g09d2