#include <sdlinputservice.h>
Public Member Functions | |
SDLController (int deviceID) | |
~SDLController () | |
Public Attributes | |
int | mDeviceID = -1 |
Physical device id. More... | |
int | mInstanceID = -1 |
Instance id (uuid) More... | |
void * | mController = nullptr |
Pointer to the controller or joystick. More... | |
bool | mIsJoystick = false |
If the controller is a joystick or actual controller. More... | |
Struct used for keeping track of controllers inside the system The SDL controller, when constructed, will try to open a connection On destruction the controller will close it's connection (if opened)
SDLController | ( | int | deviceID | ) |
~SDLController | ( | ) |
void* mController = nullptr |
Pointer to the controller or joystick.
int mDeviceID = -1 |
Physical device id.
int mInstanceID = -1 |
Instance id (uuid)
bool mIsJoystick = false |
If the controller is a joystick or actual controller.