Return appropriate error and use logging helper when unsupported input is requested

This commit is contained in:
Sapphire
2025-06-28 10:29:46 +02:00
committed by xytovl
parent 8691be2677
commit 6377f21b99
4 changed files with 8 additions and 22 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ xrt_space_relation wivrn_eye_tracker::get_tracked_pose(xrt_input_name name, int6
return relation;
}
U_LOG_E("Unknown input name");
U_LOG_XDEV_UNSUPPORTED_INPUT(this, u_log_get_global_level(), name);
return {};
}