Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
Joystick axis move event subtype. More...
#include <SFML/Window/Event.hpp>
Public Attributes | |
unsigned int | joystickId {} |
Index of the joystick (in range [0 .. Joystick::Count - 1]) | |
Joystick::Axis | axis {} |
Axis on which the joystick moved. | |
float | position {} |
New position on the axis (in range [-100 .. 100]) |
Joystick::Axis sf::Event::JoystickMoved::axis {} |
unsigned int sf::Event::JoystickMoved::joystickId {} |
Index of the joystick (in range [0 .. Joystick::Count - 1])
float sf::Event::JoystickMoved::position {} |