GamepadConnected

Reports that a gamepad named name was connected and is now known as id.

Gamepads that are already plugged in when Subsystem.GAMEPAD starts are reported this way too, by the first polls after Sdl.init, so no separate enumeration is needed. Some systems (macOS, Windows with Windows.Gaming.Input) announce them a little later, after event processing has begun. name is empty when SDL knows no name for the device.

Constructors

Link copied to clipboard
constructor(id: GamepadId, name: String)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String