A key pressed: its name ("a", "return", "up", ""
for punctuation) and the modifiers held.
Attributes#
| Attribute | Type | Description |
|---|---|---|
name | str | |
ctrl | bool = False | |
meta | bool = False | |
shift | bool = False |
Functions#
__init__#
__init__(name, ctrl=False, meta=False, shift=False) -> None| Parameter | Type | Description |
|---|---|---|
name | str | |
ctrl | bool = False | |
meta | bool = False | |
shift | bool = False |