Class KeyEvent#
Defined in File KeyEvent.h
Inheritance Relationships#
Base Type#
public TRAP::Events::Event
(Class Event)
Derived Types#
public TRAP::Events::KeyPressEvent
(Class KeyPressEvent)public TRAP::Events::KeyReleaseEvent
(Class KeyReleaseEvent)public TRAP::Events::KeyRepeatEvent
(Class KeyRepeatEvent)
Class Documentation#
-
class KeyEvent : public TRAP::Events::Event#
Key event base class.
Remark
Headless mode: This class is not available in headless mode.
Subclassed by TRAP::Events::KeyPressEvent, TRAP::Events::KeyReleaseEvent, TRAP::Events::KeyRepeatEvent
Public Functions
-
constexpr ~KeyEvent() override = default#
Destructor.
-
virtual constexpr EventCategory GetCategoryFlags() const noexcept override#
Retrieve the category flags of the event.
- Returns:
Combination of one or more EventCategory’s.
-
constexpr ~KeyEvent() override = default#