docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct DeviceResetEvent

    Event that causes the state of an InputDevice to be reset (see ResetDevice(InputDevice, bool)).

    Implements
    IInputEventTypeInfo
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Namespace: UnityEngine.InputSystem.LowLevel
    Assembly: Unity.InputSystem.dll
    Syntax
    public struct DeviceResetEvent : IInputEventTypeInfo

    Fields

    Type

    Declaration
    public const int Type = 1146245972
    Field Value
    Type Description
    int
    See Also
    ResetDevice(InputDevice, bool)

    baseEvent

    Common event data.

    Declaration
    public InputEvent baseEvent
    Field Value
    Type Description
    InputEvent
    See Also
    ResetDevice(InputDevice, bool)

    hardReset

    Whether to also reset dontReset controls.

    Declaration
    public bool hardReset
    Field Value
    Type Description
    bool
    See Also
    ResetDevice(InputDevice, bool)

    Properties

    typeStatic

    Declaration
    public FourCC typeStatic { get; }
    Property Value
    Type Description
    FourCC
    See Also
    ResetDevice(InputDevice, bool)

    Methods

    Create(int, bool, double)

    Declaration
    public static DeviceResetEvent Create(int deviceId, bool hardReset = false, double time = -1)
    Parameters
    Type Name Description
    int deviceId
    bool hardReset
    double time
    Returns
    Type Description
    DeviceResetEvent
    See Also
    ResetDevice(InputDevice, bool)

    Implements

    IInputEventTypeInfo

    See Also

    ResetDevice(InputDevice, bool)
    In This Article
    Back to top
    Copyright © 2024 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)