class final
#include <engine/input/bindings.hpp>
InputBindings Stores the input bindings for a single player.
It contains a map of input actions and a map of input axes.
Public functions
- auto actions() const -> const std::unordered_map<std::string, InputAction>&
- Gets the input actions map.
- auto axes() const -> const std::unordered_map<std::string, InputAxis>&
- Gets the input axes map.
- auto actions() -> std::unordered_map<std::string, InputAction>&
- Gets the input actions map.
- auto axes() -> std::unordered_map<std::string, InputAxis>&
- Gets the input axes map.
Function documentation
const std::unordered_map<std::string, InputAction>& cubos:: engine:: InputBindings:: actions() const
Gets the input actions map.
Returns | Input actions map. |
---|
std::unordered_map<std::string, InputAction>& cubos:: engine:: InputBindings:: actions()
Gets the input actions map.
Returns | Input actions map. |
---|