File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -397,8 +397,9 @@ 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 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.
402
403
403
404
The following example prints the key press and release events to the serial console.
404
405
You can’t perform that action at this time.
0 commit comments