Event fired when a keyboard key is released. More...
#include <KeyEvent.h>
Inherits Raven::Event.
Public Member Functions | |
| constexpr | KeyReleasedEvent (KeyCode key) |
| Constructs a KeyReleasedEvent. | |
| Public Member Functions inherited from Raven::Event | |
| constexpr bool | IsInCategory (EventCategory cat) const noexcept |
| Checks whether this event belongs to a given category. | |
Static Public Member Functions | |
| static constexpr EventType | StaticType () |
| Returns the static event type identifier. | |
| static constexpr EventCategory | StaticCategory () |
Public Attributes | |
| KeyCode | Key |
| Key that was released. | |
| Public Attributes inherited from Raven::Event | |
| EventType | Type = EventType::None |
| Concrete event type. | |
| EventCategory | Category = EventCategory::None |
| Event category bitmask. | |
Event fired when a keyboard key is released.
|
inlineconstexpr |
Constructs a KeyReleasedEvent.
| key | The key code of the released key. |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
Returns the static event type identifier.