MochiEngine
Loading...
Searching...
No Matches
Mochi::Input::DummyGamepadProvider Class Reference
Inheritance diagram for Mochi::Input::DummyGamepadProvider:
Mochi::Input::IGamepadProvider

Public Member Functions

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.

Member Function Documentation

◆ 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
playerThe 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
playerThe slot to check.
Returns
True if the slot has a gamepad connected.

Implements Mochi::Input::IGamepadProvider.


The documentation for this class was generated from the following file: