瀏覽代碼

Merge pull request #113820 from BastiaanOlij/add_steam_to_frame_controller_description

Add Steam to the description of the Steam Frame controller
Rémi Verschelde 6 天之前
父節點
當前提交
d743736f84
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      modules/openxr/extensions/openxr_valve_controller_extension.cpp

+ 2 - 2
modules/openxr/extensions/openxr_valve_controller_extension.cpp

@@ -53,9 +53,9 @@ void OpenXRValveControllerExtension::on_register_metadata() {
 	OpenXRInteractionProfileMetadata *openxr_metadata = OpenXRInteractionProfileMetadata::get_singleton();
 	OpenXRInteractionProfileMetadata *openxr_metadata = OpenXRInteractionProfileMetadata::get_singleton();
 	ERR_FAIL_NULL(openxr_metadata);
 	ERR_FAIL_NULL(openxr_metadata);
 
 
-	{ // Valve Frame controller
+	{ // Valve Steam Frame controller
 		const String profile_path = "/interaction_profiles/valve/frame_controller";
 		const String profile_path = "/interaction_profiles/valve/frame_controller";
-		openxr_metadata->register_interaction_profile("Valve Frame controller", profile_path, XR_VALVE_FRAME_CONTROLLER_INTERACTION_EXTENSION_NAME);
+		openxr_metadata->register_interaction_profile("Valve Steam Frame controller", profile_path, XR_VALVE_FRAME_CONTROLLER_INTERACTION_EXTENSION_NAME);
 		for (const String user_path : { "/user/hand/left", "/user/hand/right" }) {
 		for (const String user_path : { "/user/hand/left", "/user/hand/right" }) {
 			openxr_metadata->register_io_path(profile_path, "Grip pose", user_path, user_path + "/input/grip/pose", "", OpenXRAction::OPENXR_ACTION_POSE);
 			openxr_metadata->register_io_path(profile_path, "Grip pose", user_path, user_path + "/input/grip/pose", "", OpenXRAction::OPENXR_ACTION_POSE);
 			openxr_metadata->register_io_path(profile_path, "Aim pose", user_path, user_path + "/input/aim/pose", "", OpenXRAction::OPENXR_ACTION_POSE);
 			openxr_metadata->register_io_path(profile_path, "Aim pose", user_path, user_path + "/input/aim/pose", "", OpenXRAction::OPENXR_ACTION_POSE);