Device commands
Send data to Devices from script—for rumble, HID output reports, and other backend features.
Unlike input events, which flow from hardware into the Input System, commands flow out to the Device. Send built-in command types or define your own for custom hardware.
| Topic | Description |
|---|---|
| Send a command to a device | Call InputDevice.ExecuteCommand and monitor commands with InputSystem.onDeviceCommand. |
| Add a custom device command | Define IInputDeviceCommandInfo structs to send custom data to a Device backend. |