Skip to content

Commit

Permalink
[Spaces] Blacklist MSFT_hand_interaction
Browse files Browse the repository at this point in the history
The Spaces platform supports both EXT and MSFT hand_interaction
extensions in theory. However when enabling them some issues
appear that make Wolvic unusable:
1. If we suggest bindings for both profiles we get flooded by
a neverending input profile change events
2. Neither of them report valid poses for aim/grip...

So until we don't have time to figure out how to make them
work is better to keep them disabled and use hand joints.
  • Loading branch information
svillar committed Oct 10, 2024
1 parent 66d38ba commit 6b65026
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/openxr/cpp/OpenXRExtensions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ void OpenXRExtensions::Initialize() {
// Added in Pico OS 5.11.0 (5.10 ?) but due to a bug in its OpenXR runtime it prevents other profiles (eg, controllers) to be used.
sSupportedExtensions.erase(XR_EXT_HAND_INTERACTION_EXTENSION_NAME);
#elif SPACES
// Spaces incorrectly advertises this extension as supported but it does not really work.
// Spaces incorrectly advertises these extensions as supported but they don't really work.
// We get no poses for aim/grip... and we get flooded by profiles change events.
sSupportedExtensions.erase(XR_EXT_HAND_INTERACTION_EXTENSION_NAME);
sSupportedExtensions.erase(XR_MSFT_HAND_INTERACTION_EXTENSION_NAME);
#endif

// Adding this check here is ugly but required to have a working build for VRX. With the current
Expand Down

0 comments on commit 6b65026

Please sign in to comment.