Joystick buttons events parameters (JoystickButtonPressed, JoystickButtonReleased). More...
#include <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).
Definition at line 138 of file Event.hpp.
| 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]).