Used to fetch inputs from the current Window.
More...
#include <input.hpp>
|
static constexpr size_t | GamepadMax = 15 |
|
Used to fetch inputs from the current Window.
Definition at line 17 of file input.hpp.
◆ GetGamepad()
static MOUNTAIN_API const GamepadInput& Mountain::Input::GetGamepad |
( |
uint32_t |
gamepadId | ) |
|
|
static |
Get a gamepad input.
- Parameters
-
- Returns
- Result
◆ GetKey()
Check if a specified key is of the specified status.
- Parameters
-
key | Key to check |
status | Key status |
- Returns
- Result
◆ GetMouseButton()
Check if a specified mouse button is of the specified status.
- Parameters
-
mouseButton | Mouse button to check |
status | Mouse button status |
- Returns
- Result
◆ GetMousePosition()
static MOUNTAIN_API Vector2 Mountain::Input::GetMousePosition |
( |
| ) |
|
|
static |
Get the mouse position.
- Returns
- Mouse position
The documentation for this class was generated from the following file: