Microsoft Mixed Reality Motion Controller Profile
Enables the OpenXR interaction profile for the Microsoft Mixed Reality Motion controller and exposes the <WMRSpatialController>
device layout within the Unity Input System.
For more information about the Microsoft Mixed Reality Motion Controller interaction profile, see the OpenXR Specification.
Available controls
OpenXR Path | Unity Control Name | Type |
---|---|---|
/input/thumbstick |
joystick | Vector2 |
/input/trackpad |
touchpad | Vector2 |
/input/squeeze/click |
grip | Float (boolean cast to float) |
/input/squeeze/click |
gripPressed | Boolean |
/input/menu/click |
menu | Boolean |
/input/trigger/value |
trigger | Float |
/input/trigger/value |
triggerPressed | Boolean (float cast to boolean) |
/input/thumbstick/click |
joystickClicked | Boolean |
/input/trackpad/click |
touchpadClicked | Boolean |
/input/trackpad/touch |
touchpadTouched | Boolean |
/input/grip/pose |
devicePose | Pose |
/input/aim/pose |
pointer | Pose |
Unity Layout Only | isTracked | Flag Data |
Unity Layout Only | trackingState | Flag Data |
Unity Layout Only | devicePosition | Vector3 |
Unity Layout Only | deviceRotation | Quaternion |
Unity Layout Only | pointerPosition | Vector3 |
Unity Layout Only | pointerRotation | Quaternion |