Skip to content

Commit 317f565

Browse files
committed
Update fix for issue adafruit#40 with Alec's feedback
1 parent 57715f0 commit 317f565

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

adafruit_macropad.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,9 @@ def keys(self) -> Keys:
397397
* ``key_number``: the number of the key that changed. Keys are numbered starting at 0.
398398
* ``pressed``: ``True`` if the event is a transition from released to pressed.
399399
* ``released``: ``True`` if the event is a transition from pressed to released.
400-
``released`` is always the opposite of ``pressed``; it's provided for convenience
401-
and clarity, in case you want to test for key-release events explicitly.
400+
401+
``released`` is always the opposite of ``pressed``; it's provided for convenience
402+
and clarity, in case you want to test for key-release events explicitly.
402403
403404
The following example prints the key press and release events to the serial console.
404405

0 commit comments

Comments
 (0)