-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
## [1.7.0] - 2023-02-21 ### Fixed * Fixed - Meta builds now don't include Bluetooth permissions in Android manifest by default when using Microphone class in script code. * Fixed crash in OpenXR runtime debugger when cache size is set to 0. * Fixed OpenXR project validation to check for correct versions of OpenGLES in Unity 2023 and up. * Fixed crash when runtime reports an invalid view configuration from xrWaitFrame. * Fixed - OpenXR plugin will only look up functions from supported and enabled extensions. * Fixed GPU selection in multi-GPU scenarios. ### Updated * Updated documentation for the Meta Quest feature. ### Added * Added API `OpenXRRuntime.retryInitializationOnFormFactorErrors` to retry xrGetSystem during initialization if xrGetSystem returns a form factor error. * Enable XR_META_performance_metrics. This enables performance stats for Meta Quest devices on OpenXR. * Add class MetaQuestTouchProControllerProfile.QuestProTouchController new interaction profile to support Meta Quest pro controllers. * Added ability for OpenXRFeature derived classes to add Awake() functions. * Added API `OpenXRInput.GetActionIsActive` to check whether an InputAction has any bindings which are currently active. * Added API `OpenXRInput.GetActionHandle` to get the action handle of an InputAction and returns 0 if not found. ## [1.6.1-preview.1] - 2022-12-01
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Meta Quest Pro Touch Controller Profile | ||
|
||
Enables the OpenXR interaction profile for Meta Quest Pro controllers and exposes the `<QuestProTouchController>` device layout within the [Unity Input System](https://docs.unity3d.com/Packages/[email protected]/manual/). | ||
|
||
## Available controls | ||
|
||
| OpenXR Path | Unity Control Name | Type | | ||
|----|----|----| | ||
|`/input/thumbstick`| thumbstick | Vector2 | | ||
|`/input/squeeze/value`| grip | Float | | ||
|`/input/squeeze/value`| gripPressed | Float ( float cast to boolean) | | ||
|`/input/menu/click`| menu (Left Hand Only)| Boolean | | ||
|`/input/system/click`| menu (Right Hand Only)| Boolean | | ||
|`/input/a/click`| primaryButton (Right Hand Only) | Boolean | | ||
|`/input/a/touch`| primaryTouched (Right Hand Only) | Boolean | | ||
|`/input/b/click`| secondaryButton (Right Hand Only) | Boolean | | ||
|`/input/b/touch`| secondaryTouched (Right Hand Only) | Boolean | | ||
|`/input/x/click`| primaryButton (Left Hand Only) | Boolean | | ||
|`/input/x/touch`| primaryTouched (Left Hand Only) | Boolean | | ||
|`/input/y/click`| secondaryButton (Left Hand Only) | Boolean | | ||
|`/input/y/touch`| secondaryTouched (Left Hand Only) | Boolean | | ||
|`/input/trigger/value`| trigger | Float | | ||
|`/input/trigger/value`| triggerPressed | Boolean (float cast to boolean) | | ||
|`/input/trigger/touch`| triggerTouched| Boolean (float cast to boolean) | | ||
|`/input/thumbstick/click`| thumbstickClicked | Boolean | | ||
|`/input/thumbstick/touch`| thumbstickTouched | Boolean | | ||
|`/input/thumbrest/touch`| thumbrestTouched | Boolean | | ||
|`/input/grip/pose` | devicePose | Pose | | ||
|`/input/aim/pose` | pointer | Pose | | ||
|`/input/stylus_fb/force` | stylusForce | Float | | ||
|`/input/trigger/curl_fb` | triggerCurl | Float | | ||
|`/input/trigger/slide_fb` | triggerSlide | Float | | ||
|`/input/trigger/proximity_fb` | triggerProximity | Boolean | | ||
|`/input/thumb_fb/proximity_fb` | thumbProximity | Boolean | | ||
|`/output/haptic` | haptic | Vibrate | | ||
|`/output/trigger_haptic_fb` | hapticTrigger | Vibrate | | ||
|`/output/thumb_haptic_fb` | hapticThumb | Vibrate | | ||
| Unity Layout Only | isTracked | Flag Data | | ||
| Unity Layout Only | trackingState | Flag Data | | ||
| Unity Layout Only | devicePosition | Vector3 | | ||
| Unity Layout Only | deviceRotation | Quaternion | |