struct

SF::Event::JoystickConnectEvent

Inherits SF::Event / Struct / Value / Object

Joystick connection events parameters (see JoystickConnected, JoystickDisconnected)

Constructors

Instance methods

dup

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.

Source
joystick_id

Index of the joystick (in range 0 ... Joystick::Count)

Source
joystick_id=(joystick_id : Int)
Source