summaryrefslogtreecommitdiffstats
path: root/modules/openxr/action_map
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2023-09-11 13:44:03 +1000
committerBastiaan Olij <mux213@gmail.com>2023-09-11 13:44:03 +1000
commitc5e4f3eb7453bba1b907673ff49ced9f380c54fa (patch)
tree47875a4ba9b8b13255b44630c355ba2654f01b6e /modules/openxr/action_map
parentfc99492d3066098e938449b10e02f8e01d07e2d1 (diff)
downloadredot-engine-c5e4f3eb7453bba1b907673ff49ced9f380c54fa.tar.gz
OpenXR fix missing add profile for hauwei
Diffstat (limited to 'modules/openxr/action_map')
-rw-r--r--modules/openxr/action_map/openxr_action_map.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/openxr/action_map/openxr_action_map.cpp b/modules/openxr/action_map/openxr_action_map.cpp
index 652e5fc407..6d79e33de8 100644
--- a/modules/openxr/action_map/openxr_action_map.cpp
+++ b/modules/openxr/action_map/openxr_action_map.cpp
@@ -470,6 +470,7 @@ void OpenXRActionMap::create_default_action_sets() {
profile->add_new_binding(primary_click, "/user/hand/left/input/trackpad/click,/user/hand/right/input/trackpad/click");
profile->add_new_binding(primary_touch, "/user/hand/left/input/trackpad/touch,/user/hand/right/input/trackpad/touch");
profile->add_new_binding(haptic, "/user/hand/left/output/haptic,/user/hand/right/output/haptic");
+ add_interaction_profile(profile);
// Create our HTC Vive tracker profile
profile = OpenXRInteractionProfile::new_profile("/interaction_profiles/htc/vive_tracker_htcx");