25 #ifndef SFML_JOYSTICK_HPP
26 #define SFML_JOYSTICK_HPP
31 #include <SFML/Window/Export.hpp>
79 static bool isConnected(
unsigned int joystick);
91 static unsigned int getButtonCount(
unsigned int joystick);
104 static bool hasAxis(
unsigned int joystick, Axis axis);
117 static bool isButtonPressed(
unsigned int joystick,
unsigned int button);
130 static float getAxisPosition(
unsigned int joystick, Axis axis);
141 static void update();
147 #endif // SFML_JOYSTICK_HPP