Documentation of SFML 2.6.1
Warning: this page refers to an old version of SFML. Click here to switch to the latest version.Loading...
Searching...
No Matches
Joystick buttons events parameters (JoystickButtonPressed, JoystickButtonReleased) More...
#include <SFML/Window/Event.hpp>
Public Attributes | |
unsigned int | joystickId |
Index of the joystick (in range [0 .. Joystick::Count - 1]) | |
unsigned int | button |
Index of the button that has been pressed (in range [0 .. Joystick::ButtonCount - 1]) | |
Joystick buttons events parameters (JoystickButtonPressed, JoystickButtonReleased)
unsigned int sf::Event::JoystickButtonEvent::button |
Index of the button that has been pressed (in range [0 .. Joystick::ButtonCount - 1])
unsigned int sf::Event::JoystickButtonEvent::joystickId |
Index of the joystick (in range [0 .. Joystick::Count - 1])