Manages all input handling for the 3DS. More...
#include <Input.hpp>
Public Member Functions | |
| InputManager () | |
| Constructor that initializes all button states. | |
| void | Update () |
| Updates the state of all inputs. | |
| ButtonState | GetButtonState (Button button) const |
| Gets the current state of a specific button. | |
| Vector2D | GetCirclePadPosition () const |
| Gets the current position of the Circle Pad. | |
| Vector2D | GetCStickPosition () const |
| Gets the current position of the C-Stick. | |
| TouchPosition | GetTouchPosition () const |
| Gets the current touch screen state. | |
| const InputState & | GetCurrentState () const |
| Gets the complete current input state. | |
Manages all input handling for the 3DS.
| ButtonState Input::InputManager::GetButtonState | ( | Button | button | ) | const |
Gets the current state of a specific button.
| button | The button to check |
| Vector2D Input::InputManager::GetCirclePadPosition | ( | ) | const |
Gets the current position of the Circle Pad.
| Vector2D Input::InputManager::GetCStickPosition | ( | ) | const |
Gets the current position of the C-Stick.
| const InputState & Input::InputManager::GetCurrentState | ( | ) | const |
Gets the complete current input state.
| TouchPosition Input::InputManager::GetTouchPosition | ( | ) | const |
Gets the current touch screen state.