# GetDevices(List<InputDevice>)

> Gets a list of active input devices available to the XR Input Subsystem.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.XR](/engine/6000.7/script-reference/unityengine/xr.md)
* **Assembly:** UnityEngine.XRModule

```csharp
public static void GetDevices(List<InputDevice> inputDevices)
```

### Parameters

**** (\[List\<InputDevice>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): A List of type InputDevices to receive the available input devices.
