diff options
author | Bastiaan Olij <mux213@gmail.com> | 2024-01-09 11:29:56 +1100 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2024-01-11 15:29:38 +1100 |
commit | f2ef41b8539b8e850e99537ca901419387983eeb (patch) | |
tree | ce9e9a6300a512115b9b6d2732ad9d1400331a49 /modules/openxr/action_map/openxr_interaction_profile_metadata.cpp | |
parent | 9b522ac1a85cab1a7a867b7a9f3bb102d9376ac2 (diff) | |
download | redot-engine-f2ef41b8539b8e850e99537ca901419387983eeb.tar.gz |
Add Meta controller extension
Diffstat (limited to 'modules/openxr/action_map/openxr_interaction_profile_metadata.cpp')
-rw-r--r-- | modules/openxr/action_map/openxr_interaction_profile_metadata.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/openxr/action_map/openxr_interaction_profile_metadata.cpp b/modules/openxr/action_map/openxr_interaction_profile_metadata.cpp index df607b0def..75cfb095bb 100644 --- a/modules/openxr/action_map/openxr_interaction_profile_metadata.cpp +++ b/modules/openxr/action_map/openxr_interaction_profile_metadata.cpp @@ -360,6 +360,9 @@ void OpenXRInteractionProfileMetadata::_register_core_metadata() { register_io_path("/interaction_profiles/oculus/touch_controller", "Thumbstick click", "/user/hand/right", "/user/hand/right/input/thumbstick/click", "", OpenXRAction::OPENXR_ACTION_BOOL); register_io_path("/interaction_profiles/oculus/touch_controller", "Thumbstick touch", "/user/hand/right", "/user/hand/right/input/thumbstick/touch", "", OpenXRAction::OPENXR_ACTION_BOOL); + register_io_path("/interaction_profiles/oculus/touch_controller", "Thumbrest touch", "/user/hand/left", "/user/hand/left/input/thumbrest/touch", "", OpenXRAction::OPENXR_ACTION_BOOL); + register_io_path("/interaction_profiles/oculus/touch_controller", "Thumbrest touch", "/user/hand/right", "/user/hand/right/input/thumbrest/touch", "", OpenXRAction::OPENXR_ACTION_BOOL); + register_io_path("/interaction_profiles/oculus/touch_controller", "Haptic output", "/user/hand/left", "/user/hand/left/output/haptic", "", OpenXRAction::OPENXR_ACTION_HAPTIC); register_io_path("/interaction_profiles/oculus/touch_controller", "Haptic output", "/user/hand/right", "/user/hand/right/output/haptic", "", OpenXRAction::OPENXR_ACTION_HAPTIC); |