@@ -260,20 +260,8 @@ void OpenXRActionMap::create_default_action_sets() {
260260 " /user/vive_tracker_htcx/role/left_ankle,"
261261 " /user/vive_tracker_htcx/role/right_ankle" );
262262
263- // Create our interaction profiles.
264- Ref<OpenXRInteractionProfile> profile = OpenXRInteractionProfile::new_profile (" /interaction_profiles/khr/simple_controller" );
265- profile->add_new_binding (default_pose, " /user/hand/left/input/aim/pose,/user/hand/right/input/aim/pose" );
266- profile->add_new_binding (aim_pose, " /user/hand/left/input/aim/pose,/user/hand/right/input/aim/pose" );
267- profile->add_new_binding (grip_pose, " /user/hand/left/input/grip/pose,/user/hand/right/input/grip/pose" );
268- profile->add_new_binding (palm_pose, " /user/hand/left/input/grip_surface/pose,/user/hand/right/input/grip_surface/pose" );
269- profile->add_new_binding (menu_button, " /user/hand/left/input/menu/click,/user/hand/right/input/menu/click" );
270- profile->add_new_binding (select_button, " /user/hand/left/input/select/click,/user/hand/right/input/select/click" );
271- // generic has no support for triggers, grip, A/B buttons, nor joystick/trackpad inputs.
272- profile->add_new_binding (haptic, " /user/hand/left/output/haptic,/user/hand/right/output/haptic" );
273- add_interaction_profile (profile);
274-
275263 // Create our Vive controller profile.
276- profile = OpenXRInteractionProfile::new_profile (" /interaction_profiles/htc/vive_controller" );
264+ Ref<OpenXRInteractionProfile> profile = OpenXRInteractionProfile::new_profile (" /interaction_profiles/htc/vive_controller" );
277265 profile->add_new_binding (default_pose, " /user/hand/left/input/aim/pose,/user/hand/right/input/aim/pose" );
278266 profile->add_new_binding (aim_pose, " /user/hand/left/input/aim/pose,/user/hand/right/input/aim/pose" );
279267 profile->add_new_binding (grip_pose, " /user/hand/left/input/grip/pose,/user/hand/right/input/grip/pose" );
0 commit comments