ECSTASY
All in the name
Loading...
Searching...
No Matches
KeyPressedEvent.hpp
Go to the documentation of this file.
1
11
12#ifndef ECSTASY_INTEGRATIONS_EVENT_EVENTS_KEYPRESSEDEVENT_HPP_
13#define ECSTASY_INTEGRATIONS_EVENT_EVENTS_KEYPRESSEDEVENT_HPP_
14
15#include "KeyEvent.hpp"
16
18{
25 struct KeyPressedEvent : public KeyEvent {
34 constexpr KeyPressedEvent(Keyboard::Key pKey) noexcept : KeyEvent(pKey, true)
35 {
36 }
37 };
38} // namespace ecstasy::integration::event
39
40#endif /* !ECSTASY_INTEGRATIONS_EVENT_EVENTS_KEYPRESSEDEVENT_HPP_ */
Event integration.
Definition Event.hpp:25
Event describing a key pressed or released.
Definition KeyEvent.hpp:25
constexpr KeyPressedEvent(Keyboard::Key pKey) noexcept
Construct a new KeyPressedEvent object.