|
OpenEnroth 9cf7432
|
#include <SdlGamepad.h>
Public Member Functions | |
| SdlGamepad (SdlPlatformSharedState *state, SDL_Gamepad *gamepad, SDL_JoystickID id) | |
| virtual | ~SdlGamepad () |
| virtual std::string | model () const override |
| virtual std::string | serial () const override |
| SDL_JoystickID | id () |
Public Member Functions inherited from PlatformGamepad | |
| virtual | ~PlatformGamepad ()=default |
| virtual std::string | model () const =0 |
| virtual std::string | serial () const =0 |
Private Attributes | |
| SdlPlatformSharedState * | _state = nullptr |
| SDL_Gamepad * | _gamepad = nullptr |
| SDL_JoystickID | _id = 0 |
| SdlGamepad::SdlGamepad | ( | SdlPlatformSharedState * | state, |
| SDL_Gamepad * | gamepad, | ||
| SDL_JoystickID | id | ||
| ) |
|
virtual |
|
inline |
|
overridevirtual |
Implements PlatformGamepad.
|
overridevirtual |
Implements PlatformGamepad.
|
private |
|
private |
|
private |