# InputFeatureUsage

> Defines a generic usage that maps to an input feature on a device. Use the As method to turn into a generic usage.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.XR](/engine/6000.6/script-reference/unityengine/xr.md)
* **Assembly:** UnityEngine.XRModule
* **Implements:** [IEquatable\<InputFeatureUsage>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public struct InputFeatureUsage : IEquatable<InputFeatureUsage>
```

## Properties

| Property                                                                         | Description                                                                                    |
| -------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| [name](/engine/6000.6/script-reference/unityengine/xr/inputfeatureusage/name.md) | The string name of this usage feature; used internally to map to an input feature on a device. |
| [type](/engine/6000.6/script-reference/unityengine/xr/inputfeatureusage/type.md) | The type of this usage feature; used internally to map to an input feature on a device.        |

## Methods

| Method                                                                       | Description                                                                            |
| ---------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| [As](/engine/6000.6/script-reference/unityengine/xr/inputfeatureusage/as.md) | Returns the generic version of this type for retrieving a feature value from a device. |
