Loading...
Searching...
No Matches
sf::Event::JoystickMoved Struct Reference
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]) | |
Detailed Description
Member Data Documentation
◆ axis
| Joystick::Axis sf::Event::JoystickMoved::axis {} |
◆ joystickId
| unsigned int sf::Event::JoystickMoved::joystickId {} |
Index of the joystick (in range [0 .. Joystick::Count - 1])
◆ position
| float sf::Event::JoystickMoved::position {} |
The documentation for this struct was generated from the following file: