Skip to content

Commit 57715f0

Browse files
committed
Fix issue adafruit#40 - docs rendering improperly for keys function
1 parent 72ad9d7 commit 57715f0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

adafruit_macropad.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -397,9 +397,8 @@ 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
401-
for convenience and clarity, in case you want to test for
402-
key-release events explicitly.
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.
403402
404403
The following example prints the key press and release events to the serial console.
405404

0 commit comments

Comments
 (0)