Scripting API

InputDevice

class in UnityEngine.InputSystem · Unity.InputSystem · inherits from InputControl

11 of 24 of Unity's members
In Tassix

A device: the root of its controls, added to the system by InputSystem.AddDevice.

Properties 9

bool added { get; }
ReadOnlyArray<InputControl> allControls { get; }
InputDeviceDescription description { get; }
int deviceId { get; }
bool enabled { get; }
double lastUpdateTime { get; }
bool native { get; }
Type valueType { get; }
bool wasUpdatedThisFrame { get; }

Methods 3

float EvaluateMagnitude()
virtual void MakeCurrent()

Makes this the device that Keyboard.current and the like return.

object? ReadValueAsObject()

Not in Tassix yet 13

CompareValue ExecuteCommand InvalidDeviceId OnAdded OnConfigurationChanged OnRemoved ReadValueFromBufferAsObject ReadValueFromStateAsObject ReadValueFromStateIntoBuffer canRunInBackground remote updateBeforeRender valueSizeInBytes