logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct PlayerInputSlot

    Struct representing a player input slot.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Serenity.InputGateway.Domain.Structs
    Assembly: Serenity.InputGateway.Domain.dll
    Syntax
    public readonly struct PlayerInputSlot

    Constructors

    PlayerInputSlot(int, string, string)

    Initializes a new instance of the PlayerInputSlot struct.

    Declaration
    public PlayerInputSlot(int index, string deviceId, string layout)
    Parameters
    Type Name Description
    int index

    The index of the input slot.

    string deviceId

    The device ID associated with the input slot.

    string layout

    The layout associated with the input slot, if any.

    Fields

    DeviceId

    Declaration
    public readonly string DeviceId
    Field Value
    Type Description
    string

    Gets the device ID associated with the input slot.

    Index

    Declaration
    public readonly int Index
    Field Value
    Type Description
    int

    Gets the index of the input slot.

    Layout

    Declaration
    public readonly string Layout
    Field Value
    Type Description
    string

    Gets the layout associated with the input slot, if any.

    In this article
    © 2026 Serenity. All Rights Reserved