# InputDevices

> An interface for accessing devices in the XR input subsytem.

## Definition

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

```csharp
public class InputDevices
```

## Remarks

To route haptic feedback to XR input devices, specify an [XRNode](/engine/6000.7/script-reference/unityengine/xr/xrnode.md) as the destination. This interface provides access to input devices using an XRNode. For example, use the use [XRNode.LeftHand](/engine/6000.7/script-reference/unityengine/xr/xrnode/lefthand.md) and [XRNode.RightHand](/engine/6000.7/script-reference/unityengine/xr/xrnode/righthand.md) to access the left or right devices.

## Static Methods

| Method                                                                                                                        | Description                                                                                                                                                                   |
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [GetDeviceAtXRNode](/engine/6000.7/script-reference/unityengine/xr/inputdevices/getdeviceatxrnode.md)                         | Gets the input device at a given [XRNode](/engine/6000.7/script-reference/unityengine/xr/xrnode.md) endpoint.                                                                 |
| [GetDevices](/engine/6000.7/script-reference/unityengine/xr/inputdevices/getdevices.md)                                       | Gets a list of active input devices available to the XR Input Subsystem.                                                                                                      |
| [GetDevicesAtXRNode](/engine/6000.7/script-reference/unityengine/xr/inputdevices/getdevicesatxrnode.md)                       | Gets a list of active input devices available to the XR Input Subsystem at a given [XRNode](/engine/6000.7/script-reference/unityengine/xr/xrnode.md) endpoint.               |
| [GetDevicesWithCharacteristics](/engine/6000.7/script-reference/unityengine/xr/inputdevices/getdeviceswithcharacteristics.md) | Gets the list of active XR input devices that match the specified [InputDeviceCharacteristics](/engine/6000.7/script-reference/unityengine/xr/inputdevicecharacteristics.md). |

## Static Events

| Member                                                                                                    | Description                                                                                                                                                  |
| --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [deviceConfigChanged](/engine/6000.7/script-reference/unityengine/xr/inputdevices/deviceconfigchanged.md) | Defines the delegate to use to register events when an [InputDevice](/engine/6000.7/script-reference/unityengine/xr/inputdevice.md)'s configuration changes. |
| [deviceConnected](/engine/6000.7/script-reference/unityengine/xr/inputdevices/deviceconnected.md)         | Defines the delegate to use to register events when an [InputDevice](/engine/6000.7/script-reference/unityengine/xr/inputdevice.md) is connected.            |
| [deviceDisconnected](/engine/6000.7/script-reference/unityengine/xr/inputdevices/devicedisconnected.md)   | Defines the delegate to use to register events when an [InputDevice](/engine/6000.7/script-reference/unityengine/xr/inputdevice.md) is disconnected.         |
