SteamInputGamepadSlotChange

Swift
public struct SteamInputGamepadSlotChange: Sendable

Steamworks SteamInputGamepadSlotChange_t


Topics

var appID: AppID

Steamworks m_unAppID

Declaration
Swift
public let appID: AppID

var deviceHandle: InputHandle

Steamworks m_ulDeviceHandle

Declaration
Swift
public let deviceHandle: InputHandle

var deviceType: SteamInputType

Steamworks m_eDeviceType

Declaration
Swift
public let deviceType: SteamInputType

var oldGamepadSlot: Int

Steamworks m_nOldGamepadSlot

Declaration
Swift
public let oldGamepadSlot: Int

var newGamepadSlot: Int

Steamworks m_nNewGamepadSlot

Declaration
Swift
public let newGamepadSlot: Int

init(appID: AppID, deviceHandle: InputHandle, deviceType: SteamInputType, oldGamepadSlot: Int, newGamepadSlot: Int)

Create a customized SteamInputGamepadSlotChange

Declaration
Swift
public init(
    appID: AppID = 0, deviceHandle: InputHandle = 0,
    deviceType: SteamInputType = .unknown, oldGamepadSlot: Int = 0,
    newGamepadSlot: Int = 0)