25 #ifndef SFML_JOYSTICK_H 
   26 #define SFML_JOYSTICK_H 
  150 #endif // SFML_JOYSTICK_H 
CSFML_WINDOW_API float sfJoystick_getAxisPosition(unsigned int joystick, sfJoystickAxis axis)
Get the current position of a joystick axis. 
CSFML_WINDOW_API sfJoystickIdentification sfJoystick_getIdentification(unsigned int joystick)
Get the joystick information. 
Maximum number of supported buttons. 
CSFML_WINDOW_API sfBool sfJoystick_isConnected(unsigned int joystick)
Check if a joystick is connected. 
CSFML_WINDOW_API unsigned int sfJoystick_getButtonCount(unsigned int joystick)
Return the number of buttons supported by a joystick. 
CSFML_WINDOW_API sfBool sfJoystick_isButtonPressed(unsigned int joystick, unsigned int button)
Check if a joystick button is pressed. 
sfJoystickIdentification holds a joystick's identification 
The Y axis of the point-of-view hat. 
sfJoystickAxis
Axes supported by SFML joysticks. 
Maximum number of supported joysticks. 
CSFML_WINDOW_API sfBool sfJoystick_hasAxis(unsigned int joystick, sfJoystickAxis axis)
Check if a joystick supports a given axis. 
The X axis of the point-of-view hat. 
CSFML_WINDOW_API void sfJoystick_update(void)
Update the states of all joysticks. 
Maximum number of supported axes.