![]() |
Copperfield Engine 0.1
C++ Game Engine
|
Input management. More...
Go to the source code of this file.
Classes | |
class | InputManager |
Interface to retrieve keyboard and mouse input. More... | |
Typedefs | |
using | InputButtonMap = std::unordered_map< std::string, std::vector< InputButton > > |
Structure that binds user-created actions and physical input. More... | |
Enumerations | |
enum class | CursorMode { Normal , Hidden , Disabled } |
Define cursor and mouse behaviors. More... | |
enum class | InputButton |
Allowed keyboard and mouse buttons. | |
Input management.
using InputButtonMap = std::unordered_map<std::string, std::vector<InputButton> > |
Structure that binds user-created actions and physical input.
Can be initialized as an array where each value contains a string and a vector of InputButton.
Example:
|
strong |