C++ Complementary Library
A key event is an event which describes a key press or a key release. You call get_key to get the key that was pressed or released.
Constructs a key event with the given key event type and key.
The kind of the key event.
The key associated with the key event.
Copy-constructs a key_event from an existing one.
The key_event to copy from.
Copy-assigns a key_event into this one.
The key_event to copy from.
Move-constructs a key_event from an existing one.
The key_event to move from.
Move-assigns a key_event into this one.
The key_event to move from.
Returns the key event type of this key_event.
Returns the key that was pressed or released.
Copyright © 2022-2025 Daniel T. McGinnis