![]() |
Gamedev Framework (gf) 1.2.0
A C++17 framework for 2D games
|
A tracker for the connection/disconnection of gamepads. More...
#include <gf/Gamepad.h>
Public Member Functions | |
GamepadTracker () | |
Constructor. More... | |
std::size_t | getConnectedGamepadCount () const |
void | processEvent (const Event &event) |
Process an event. More... | |
A tracker for the connection/disconnection of gamepads.
This class calls Gamepad::initialize()
gf::GamepadTracker::GamepadTracker | ( | ) |
Constructor.
std::size_t gf::GamepadTracker::getConnectedGamepadCount | ( | ) | const |
void gf::GamepadTracker::processEvent | ( | const Event & | event | ) |
Process an event.