docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Custom devices

    Extend the Input System with devices and input sources that Unity does not provide out of the box.

    Send low-level input events into the runtime, or implement a custom Device with layouts, state, and registration. Use Input events when you need to inject or observe raw input; follow Create a custom device when you integrate a third-party API or replace HID fallback behavior.

    Topic Description
    Input events Listen for, create, record, and process low-level input events for custom devices.
    Create a custom device Walk through state struct, Device class, update, registration, and optional commands.

    Additional resources

    • Layouts
    • Human Interface Device specification
    • Debug layouts
    • Devices (scripting)
    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)