ECSTASY
All in the name
Loading...
Searching...
No Matches
GamepadConnectedEvent.hpp
Go to the documentation of this file.
1
11
12#ifndef ECSTASY_INTEGRATIONS_EVENT_EVENTS_GAMEPADCONNECTEDEVENT_HPP_
13#define ECSTASY_INTEGRATIONS_EVENT_EVENTS_GAMEPADCONNECTEDEVENT_HPP_
14
15#include <cstdint>
16
18{
30
40 constexpr GamepadConnectedEvent(std::size_t pId, bool pConnected) noexcept : id(pId), connected(pConnected)
41 {
42 }
43 };
44} // namespace ecstasy::integration::event
45
46#endif /* !ECSTASY_INTEGRATIONS_EVENT_EVENTS_GAMEPADCONNECTEDEVENT_HPP_ */
Event integration.
Definition Event.hpp:25
Event describing a gamepad connection or disconnection.
constexpr GamepadConnectedEvent(std::size_t pId, bool pConnected) noexcept
Construct a new GamepadConnectedEvent object.
bool connected
Whether the gamepad has been connected or disconnected.