#include <controllerInputTracker.h>
◆ controllerInputTracker() [1/3]
| controllerInputTracker::controllerInputTracker |
( |
| ) |
|
|
default |
◆ controllerInputTracker() [2/3]
◆ controllerInputTracker() [3/3]
◆ ~controllerInputTracker()
| controllerInputTracker::~controllerInputTracker |
( |
| ) |
|
|
default |
◆ clear()
| auto controllerInputTracker::clear |
( |
| ) |
->void |
Clears out the information for the buttons and sticks. Typically used when a controller disconnects and we want to wipe their info.
◆ initialize() [1/2]
| auto controllerInputTracker::initialize |
( |
| ) |
->void |
Fills out the two arrays using information from Controllers.
◆ initialize() [2/2]
| auto controllerInputTracker::initialize |
( |
const std::unordered_map< int, std::string > & | holdButtonMap, |
|
|
const std::unordered_map< int, std::string > & | tapButtonMap, |
|
|
const std::unordered_map< int, std::pair< std::string, std::string > > & | sticksMap )->void |
Fills out the two arrays using information from Controllers. Called before Input exists as a system, so it needs to get the information directly instead of through Engine::GetSystem<sys::input>()->...
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ controllerButtons
| std::array<std::unique_ptr<ControllerButton>,15> controllerInputTracker::controllerButtons |
Array representing all the buttons on a glfw Gamepad.
◆ controllerSticks
The documentation for this struct was generated from the following files: