Documentation de SFML 2.6.1

Attention: cette page se réfère à une ancienne version de SFML. Cliquez ici pour passer à la dernière version.
Loading...
Searching...
No Matches
sf::Event::JoystickMoveEvent Struct Reference

Joystick axis move event parameters (JoystickMoved) 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

Joystick axis move event parameters (JoystickMoved)

Definition at line 143 of file Event.hpp.

Member Data Documentation

◆ axis

Joystick::Axis sf::Event::JoystickMoveEvent::axis

Axis on which the joystick moved.

Definition at line 146 of file Event.hpp.

◆ joystickId

unsigned int sf::Event::JoystickMoveEvent::joystickId

Index of the joystick (in range [0 .. Joystick::Count - 1])

Definition at line 145 of file Event.hpp.

◆ position

float sf::Event::JoystickMoveEvent::position

New position on the axis (in range [-100 .. 100])

Definition at line 147 of file Event.hpp.


The documentation for this struct was generated from the following file: