Loading...
Searching...
No Matches
Joystick.hpp
Go to the documentation of this file.
7// In no event will the authors be held liable for any damages arising from the use of this software.
static bool hasAxis(unsigned int joystick, Axis axis)
Check if a joystick supports a given axis.
static unsigned int getButtonCount(unsigned int joystick)
Return the number of buttons supported by a joystick.
static Identification getIdentification(unsigned int joystick)
Get the joystick information.
static bool isConnected(unsigned int joystick)
Check if a joystick is connected.
static bool isButtonPressed(unsigned int joystick, unsigned int button)
Check if a joystick button is pressed.
static float getAxisPosition(unsigned int joystick, Axis axis)
Get the current position of a joystick axis.
Utility string class that automatically handles conversions between types and encodings.
Definition String.hpp:46
Definition AlResource.hpp:35
Structure holding a joystick's identification.
Definition Joystick.hpp:77
Identification()