Enum InputUserChange | Input System | 1.0.2
docs.unity3d.com
    Show / Hide Table of Contents

    Enum InputUserChange

    Indicates what type of change related to an InputUser occurred.

    Namespace: UnityEngine.InputSystem.Users
    Syntax
    public enum InputUserChange

    Fields

    Name Description Value
    Added

    A new user was added to the system.

    0
    Removed

    An existing user was removed from the user.

    1
    DevicePaired

    A user has had a device assigned to it.

    2
    DeviceUnpaired

    A user has had a device removed from it.

    3
    DeviceLost

    A device was removed while paired to the user.

    4
    DeviceRegained

    A device that was previously lost (DeviceLost) was regained by the user.

    5
    AccountChanged

    A user has either switched accounts at the platform level.

    6
    AccountNameChanged 7
    AccountSelectionInProgress

    The user was asked to select an account during the device pairing process.

    8
    AccountSelectionCanceled

    The user canceled the account selection process that was initiated.

    9
    AccountSelectionComplete

    The user completed the account selection process.

    10
    ControlSchemeChanged

    A user switched to a different control scheme.

    11
    ControlsChanged

    A user's bound controls have changed, either because the bindings of the user have changed (for example, due to an override applied with ApplyBindingOverride(InputAction, InputBinding)) or because the controls themselves may have changed configuration (every time the device of the controls receives an DeviceConfigurationEvent; for example, when the current keyboard layout on a Keyboard changes which in turn modifies the displayNames of the keys on the keyboard).

    12
    In This Article
    • Fields
    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