# InputFeatureUsage<T>

> Defines a generic usage that maps to an input feature on a device.

## Definition

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

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

## Constructors

| Constructor                                                                                                      | Description                          |
| ---------------------------------------------------------------------------------------------------------------- | ------------------------------------ |
| [InputFeatureUsage\`1(System.String)](/engine/6000.5/script-reference/unityengine/xr/inputfeatureusage1/ctor.md) | Construct a usage from a usage name. |

## Properties

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

## Operators

| Operator                                                                                              | Description                                                             |
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| [InputFeatureUsage](/engine/6000.5/script-reference/unityengine/xr/inputfeatureusage1/op-explicit.md) | Converts a generic InputFeatureUsage\\\<T\\> into an InputFeatureUsage. |
