# AndroidXRMouse

An Input device based on Android XR Mouse interaction profile.

It's derived from OpenXRDevice instead of [Mouse](https://developer.android.com/develop/xr/unity/reference/namespace/Google/XR/Extensions#xrobjectlabel_mouse) to align with the general usage of other OpenXR interactions.

## Summary

### Inheritance

Inherits from: `OpenXRDevice`

|                                                                                                                                                    ### Properties                                                                                                                                                     ||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|
| [pose](https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/AndroidXRMouseInteractionProfile/AndroidXRMouse#pose)                       | `PoseControl` Gets the PoseControl that represents the _pose OpenXR binding.                                                                  |
| [primaryButton](https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/AndroidXRMouseInteractionProfile/AndroidXRMouse#primarybutton)     | `ButtonControl` Gets the [ButtonControl](xref:UnityEngine.InputSystem.Controls.ButtonControl) that represents the _select OpenXR bindings.    |
| [scroll](https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/AndroidXRMouseInteractionProfile/AndroidXRMouse#scroll)                   | `Vector2Control` Gets the [Vector2Control](xref:UnityEngine.InputSystem.Controls.Vector2Control) that represents the _scroll OpenXR binding.  |
| [secondaryButton](https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/AndroidXRMouseInteractionProfile/AndroidXRMouse#secondarybutton) | `ButtonControl` Gets the [ButtonControl](xref:UnityEngine.InputSystem.Controls.ButtonControl) that represents the _secondary OpenXR bindings. |
| [tertiaryButton](https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/AndroidXRMouseInteractionProfile/AndroidXRMouse#tertiarybutton)   | `ButtonControl` Gets the [ButtonControl](xref:UnityEngine.InputSystem.Controls.ButtonControl) that represents the _tertiary OpenXR bindings.  |

## Properties

### pose

```c#
PoseControl pose
```  
Gets the PoseControl that represents the _pose OpenXR binding.  

### primaryButton

```c#
ButtonControl primaryButton
```  
Gets the [ButtonControl](xref:UnityEngine.InputSystem.Controls.ButtonControl) that represents the _select OpenXR bindings.  

### scroll

```c#
Vector2Control scroll
```  
Gets the [Vector2Control](xref:UnityEngine.InputSystem.Controls.Vector2Control) that represents the _scroll OpenXR binding.  

### secondaryButton

```c#
ButtonControl secondaryButton
```  
Gets the [ButtonControl](xref:UnityEngine.InputSystem.Controls.ButtonControl) that represents the _secondary OpenXR bindings.  

### tertiaryButton

```c#
ButtonControl tertiaryButton
```  
Gets the [ButtonControl](xref:UnityEngine.InputSystem.Controls.ButtonControl) that represents the _tertiary OpenXR bindings.