struct

Espresso::JoystickConnectEvent

Inherits Struct / Value / Object

Event triggered when a joystick connects or disconnects.

Instance methods

connected?

Flag indicating whether the joystick was connected or not.

True means the joystick was connected, false means it was disconnected.

Source
disconnected?

Flag indicating whether the joystick was disconnected or connected.

True means the joystick was disconnected, false means it was connected.

Source
joystick

Joystick involved in the event.

Source