-
-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for MSFT hand interaction profile
Support for the Khronos XR_EXT_HAND_INTERACTION extension was added not so long ago. That extension defines a new interaction profile that can be used to get the input from hands using the same OpenXR concepts that are valid for physical controllers. There is another vendor extension that does the same which is XR_MSFT_HAND_INTERACTION which is supported in devices that do not support the Khronos one, like for example Meta devices or the Lynx-R1. Even if they are 2 different extensions, the nice thing is that we could use the same code path for both reducing the mess and complexity of the hand tracking code. Not only that, as they both define interaction profiles, they integrate nicely with the code that handles physical controllers. Apart from that we had to fine tune the condition that disables hands when aim is not available because it was disabling the hand even if we had valid data which is not correct. This profile is supported, among others, in * Meta Quest2, Quest3, Quest Pro * Lynx-R1
- Loading branch information
Showing
4 changed files
with
48 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters