Loading...
Searching...
No Matches
sf::Event::JoystickButtonPressed Struct Reference
Joystick button pressed event subtype. More...
#include <D:/private/SFML/SFML/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]). | |
Detailed Description
Member Data Documentation
◆ button
| unsigned int sf::Event::JoystickButtonPressed::button {} |
Index of the button that has been pressed (in range [0 .. Joystick::ButtonCount - 1]).
◆ joystickId
| unsigned int sf::Event::JoystickButtonPressed::joystickId {} |
Index of the joystick (in range [0 .. Joystick::Count - 1]).
The documentation for this struct was generated from the following file: