docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct SteamInputGamepadSlotChange_t

    Purpose: called when controller gamepad slots change - on Linux/macOS these slots are shared for all running apps.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Steamworks.Interop
    Assembly: Unity.Steamworks.Interop.dll
    Syntax
    [Serializable]
    [CallbackIdentity(2804)]
    public struct SteamInputGamepadSlotChange_t

    Fields

    k_iCallback

    The identifier Steam dispatches this callback under.

    Declaration
    public const int k_iCallback = 2804
    Field Value
    Type Description
    int

    m_eDeviceType

    Type of device

    Declaration
    public ESteamInputType m_eDeviceType
    Field Value
    Type Description
    ESteamInputType

    m_nNewGamepadSlot

    New Gamepad Slot - can be -1 controller doesn't uses gamepad bindings

    Declaration
    public int m_nNewGamepadSlot
    Field Value
    Type Description
    int

    m_nOldGamepadSlot

    Previous GamepadSlot - can be -1 controller doesn't uses gamepad bindings

    Declaration
    public int m_nOldGamepadSlot
    Field Value
    Type Description
    int

    m_ulDeviceHandle

    Handle for device

    Declaration
    public InputHandle_t m_ulDeviceHandle
    Field Value
    Type Description
    InputHandle_t

    m_unAppID

    The m_unAppID field of SteamInputGamepadSlotChange_t.

    Declaration
    public AppId_t m_unAppID
    Field Value
    Type Description
    AppId_t
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)