|
| virtual GamepadData | GetData (const unsigned int &player) const override |
| | Gets data of the gamepad in the selected slot for this frame.
|
| virtual bool | HasGamepad (const unsigned int &player) const override |
| | Checks if there is a gamepad connected in the specified player slot.
|
◆ GetData()
| virtual GamepadData Mochi::Input::DummyGamepadProvider::GetData |
( |
const unsigned int & | player | ) |
const |
|
inlineoverridevirtual |
Gets data of the gamepad in the selected slot for this frame.
- Parameters
-
| player | The slot to get the data from. |
- Returns
- GamepadData of the selected slot for this frame.
Implements Mochi::Input::IGamepadProvider.
◆ HasGamepad()
| virtual bool Mochi::Input::DummyGamepadProvider::HasGamepad |
( |
const unsigned int & | player | ) |
const |
|
inlineoverridevirtual |
Checks if there is a gamepad connected in the specified player slot.
- Parameters
-
- Returns
- True if the slot has a gamepad connected.
Implements Mochi::Input::IGamepadProvider.
The documentation for this class was generated from the following file: