Return appropriate error and use logging helper when unsupported input is requested
This commit is contained in:
@@ -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 {};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user