25 #ifndef SFML_JOYSTICK_HPP 26 #define SFML_JOYSTICK_HPP 31 #include <SFML/Config.hpp> 32 #include <SFML/Window/Event.hpp> 47 for (
int i = 0; i < Joy::AxisCount; ++i)
49 Axis[Joy::AxisPOV] = -1.f;
56 float Axis[Joy::AxisCount];
65 #if defined(SFML_SYSTEM_WINDOWS) 67 #include <SFML/Window/Win32/Joystick.hpp> 69 #elif defined(SFML_SYSTEM_LINUX) || defined(SFML_SYSTEM_FREEBSD) 71 #include <SFML/Window/Linux/Joystick.hpp> 73 #elif defined(SFML_SYSTEM_MACOS) 75 #include <SFML/Window/Cocoa/Joystick.hpp> 80 #endif // SFML_JOYSTICK_HPP
Total number of supported joystick buttons.