|
SFML
Simple and Fast Multimedia Library
|
Joystick axis move event subtype. More...
#include <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 move event subtype.
| Joystick::Axis sf::Event::JoystickMoved::axis {} |
Axis on which the joystick moved.
| unsigned int sf::Event::JoystickMoved::joystickId {} |
Index of the joystick (in range [0 .. Joystick::Count - 1]).
| float sf::Event::JoystickMoved::position {} |
New position on the axis (in range [-100 .. 100]).