KeyUpEvent
Event triggered when a key is released.
Useful for tracking when a key is no longer being pressed after a key down or repeat event.
Inherits: Event
Properties
key- The key that was released.physical_key- The position of the key that was released on the keyboard, such asW, whatever the active layout.
Properties
keyinstance-attribute
key: KeyboardKey | strThe key that was released.
A key that has no KeyboardKey member is a plain string,
such as "Ü".
physical_keyinstance-attribute
physical_key: PhysicalKeyboardKey | intThe position of the key that was released on the keyboard, such as
W, whatever the active layout.
A key that has no PhysicalKeyboardKey member is its USB HID
usage code.