Class InputDevice | Unity Reflect | 1.1.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Class InputDevice

    Inheritance
    Object
    InputDevice
    VRInputDevice
    Namespace: UnityEngine.InputNew
    Syntax
    public abstract class InputDevice : InputControlProvider

    Constructors

    InputDevice()

    Declaration
    protected InputDevice()

    InputDevice(String, List<InputControlData>)

    Declaration
    protected InputDevice(string deviceName, List<InputControlData> controls)
    Parameters
    Type Name Description
    String deviceName
    List<InputControlData> controls

    Properties

    assignment

    Declaration
    public PlayerDeviceAssignment assignment { get; set; }
    Property Value
    Type Description
    PlayerDeviceAssignment

    connected

    Declaration
    public bool connected { get; }
    Property Value
    Type Description
    Boolean

    deviceIndex

    Declaration
    public int deviceIndex { get; }
    Property Value
    Type Description
    Int32

    deviceName

    Declaration
    public string deviceName { get; protected set; }
    Property Value
    Type Description
    String

    profile

    Declaration
    public InputDeviceProfile profile { get; set; }
    Property Value
    Type Description
    InputDeviceProfile

    tagIndex

    Declaration
    public virtual int tagIndex { get; }
    Property Value
    Type Description
    Int32

    Methods

    ProcessEvent(InputEvent)

    Declaration
    public override sealed bool ProcessEvent(InputEvent inputEvent)
    Parameters
    Type Name Description
    InputEvent inputEvent
    Returns
    Type Description
    Boolean

    ProcessEventIntoState(InputEvent, InputState)

    Declaration
    public virtual bool ProcessEventIntoState(InputEvent inputEvent, InputState intoState)
    Parameters
    Type Name Description
    InputEvent inputEvent
    InputState intoState
    Returns
    Type Description
    Boolean

    RemapEvent(InputEvent)

    Declaration
    public virtual bool RemapEvent(InputEvent inputEvent)
    Parameters
    Type Name Description
    InputEvent inputEvent
    Returns
    Type Description
    Boolean

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023