SleakEngine 1.0.0
C++23 multi-backend game engine
Loading...
Searching...
No Matches
InputManager.hpp
Go to the documentation of this file.
1#ifndef _INPUTMANAGER_HPP_
2#define _INPUTMANAGER_HPP_
3
5#include <vector>
6
7namespace Sleak {
8 namespace Input {
9 /// Static registry of InputEventListeners that raw input gets fanned out to.
10 /// @ingroup input
12 public:
13
14 static void RegisterListener(InputEventListener* listener);
15 static void UnregisterListener(InputEventListener* listener);
16 private:
17 static td::vector<InputEventListener*> EventListeners;
18 };
19 }
20}
21
22#endif
static void RegisterListener(InputEventListener *listener)
static void UnregisterListener(InputEventListener *listener)
Key and mouse-button code enumerations plus their name lookups.
Root namespace for everything the engine exposes.
Definition Camera.hpp:10