This version of Unity is unsupported.

InputDevice.TryGetFeatureUsages

public bool TryGetFeatureUsages(List<InputFeatureUsage> featureUsages);

Parameters

featureUsagesA List of InputFeatureUsage structures to receive the available features on this device.

Returns

bool true if device can be queried; otherwise false.

Description

Gets a list of all the input feature usages available on this device. For example, "Trigger" or "Device Position".