Delegate InputDeviceCommandDelegate
Delegate used by onDeviceCommand.
Namespace: UnityEngine.InputSystem.LowLevel
Syntax
public delegate long? InputDeviceCommandDelegate(InputDevice device, InputDeviceCommand*command);
Parameters
| Type | Name | Description | 
|---|---|---|
| InputDevice | device | |
| InputDeviceCommand* | command | 
Returns
| Type | Description | 
|---|---|
| Nullable<Int64> |