29 #ifndef DOXYGEN_SHOULD_SKIP_THIS
104 #ifdef DOXYGEN_SHOULD_SKIP_THIS
121 #ifdef DOXYGEN_SHOULD_SKIP_THIS
221 #ifndef DOXYGEN_SHOULD_SKIP_THIS
static bool isAttached(GamepadId id)
Check if a gamepad is attached.
GamepadAxisDirection
A gamepad axis direction.
Definition: Gamepad.h:88
static const char * getButtonName(GamepadButton button)
Get the button name.
GamepadButton
The gamepad buttons.
Definition: Gamepad.h:42
static void initialize()
Initialize the already connected gamepads.
Some gamepad related functions.
Definition: Gamepad.h:131
static const char * getName(GamepadId id)
Get the name of the gamepad.
static void close(GamepadId id)
Close a gamepad.
GamepadHwId
A gamepad hardware identifier.
Definition: Gamepad.h:103
GamepadAxis
The gamepad axis.
Definition: Gamepad.h:70
Negative direction of the axis.
GamepadId
A gamepad identifier.
Definition: Gamepad.h:120
static const char * getAxisName(GamepadAxis axis)
Get the axis name.
The directional pad right button.
The directional pad up button.
Positive direction of the axis.
The directional pad left button.
#define GF_API
Definition: Portability.h:35
The directional pad down button.
Gamepad()=delete
Deleted constructor.
static GamepadId open(GamepadHwId hwid)
Open a gamepad.