Skip to content

abstract struct SF::Event::JoystickConnectEvent
inherits SF::Event #

Joystick connection events parameters (see JoystickConnected, JoystickDisconnected)

Direct known subclasses

SF::Event::JoystickConnected SF::Event::JoystickDisconnected

Constructors#

Methods#

#dup : JoystickConnectEvent#

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.

View source

#joystick_id : UInt32#

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

View source

#joystick_id=(joystick_id : Int)#

View source