docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Device lifecycle

    Manage how Input Devices are created, updated, and torn down at runtime and in the Editor.

    Use these topics when you need to add or remove devices, reset or sync state, control whether devices process input, or understand focus and domain reload behavior.

    Topic Description
    Create a device Add devices with InputSystem.AddDevice and understand automatic layout instantiation.
    Remove a device Remove disconnected or manual devices and handle onDeviceChange notifications.
    Reset a device Reset controls to default state with InputSystem.ResetDevice.
    Sync a device Request current hardware state with RequestSyncCommand when the platform supports it.
    Enable and disable devices Control whether a device processes input using enabled state and commands.
    Device background and focus changes Handle focus loss, regain, and background execution settings for device state.
    Devices and domain reloads Understand how Editor domain reloads recreate devices and reset state.

    Additional resources

    • Working with devices
    • Device states
    • Native devices
    • Debug a device
    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)