File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -397,9 +397,8 @@ def keys(self) -> Keys:
397
397
* ``key_number``: the number of the key that changed. Keys are numbered starting at 0.
398
398
* ``pressed``: ``True`` if the event is a transition from released to pressed.
399
399
* ``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.
403
402
404
403
The following example prints the key press and release events to the serial console.
405
404
You can’t perform that action at this time.
0 commit comments