Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 942 Bytes

File metadata and controls

21 lines (15 loc) · 942 Bytes
uid input-system-device-commands

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.

Additional resources