Loading...
Searching...
No Matches
Joystick.h
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.
44};
unsigned int sfJoystick_getButtonCount(unsigned int joystick)
Return the number of buttons supported by a joystick.
sfBool sfJoystick_isButtonPressed(unsigned int joystick, unsigned int button)
Check if a joystick button is pressed.
sfBool sfJoystick_hasAxis(unsigned int joystick, sfJoystickAxis axis)
Check if a joystick supports a given axis.
sfJoystickIdentification sfJoystick_getIdentification(unsigned int joystick)
Get the joystick information.
float sfJoystick_getAxisPosition(unsigned int joystick, sfJoystickAxis axis)
Get the current position of a joystick axis.
sfBool sfJoystick_isConnected(unsigned int joystick)
Check if a joystick is connected.
sfJoystickIdentification holds a joystick's identification
Definition JoystickIdentification.h:38