1 #ifndef CPP3DS_EVENTMANAGER_HPP
2 #define CPP3DS_EVENTMANAGER_HPP
5 #include <cpp3ds/Window/Event.hpp>
94 bool popEvent(
Event& event,
bool block);
106 void pushEvent(
const Event& event);
112 void processEvents();
114 bool filterEvent(
const Event& event);
116 std::queue<Event> m_events;
119 float m_joystickThreshold;
121 float m_sliderVolume;
123 touchPosition m_touch;
124 circlePosition m_circle;
bool pollEvent(Event &event)
Pop the event on top of the event queue, if any, and return it.
cpp3ds::EventManager is used primarily by cpp3ds::Game for input/event management.
bool waitEvent(Event &event)
Wait for an event and return it.
Defines a system event and its parameters.
Keep last – the total number of sensor types.
void setJoystickThreshold(float threshold)
Change the joystick threshold, ie.