abstract struct SF::Event::JoystickButtonEvent
inherits SF::Event
#
Joystick buttons events parameters
(see JoystickButtonPressed, JoystickButtonReleased)
Direct known subclasses
SF::Event::JoystickButtonPressed
SF::Event::JoystickButtonReleased
Constructors#
Methods#
#button : UInt32#
Index of the button that has been pressed (in range 0 ... Joystick::ButtonCount)
#dup : JoystickButtonEvent#
Returns a shallow copy of this object.
Because Value is a value type, this method returns self,
which already involves a shallow copy of this object because
value types are passed by value.