mirror of
https://github.com/godotengine/godot.git
synced 2025-10-26 03:04:31 +00:00
OpenXR: Add preliminary Pico controller profile
This commit adds the Pico controller used in the Pico 4 as implemented in current versions of the OpenXR runtime on the device itself. Note that the extension and paths used in this commit might become obsolete once there is official support for the Pico 4 in the OpenXR standard.
This commit is contained in:
parent
b14f7aa9f9
commit
e6370a45d8
6 changed files with 175 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ bool OpenXRAPI::is_top_level_path_supported(const String &p_toplevel_path) {
|
|||
String required_extension = OpenXRInteractionProfileMetaData::get_singleton()->get_top_level_extension(p_toplevel_path);
|
||||
|
||||
// If unsupported is returned we likely have a misspelled interaction profile path in our action map. Always output that as an error.
|
||||
ERR_FAIL_COND_V_MSG(required_extension == XR_PATH_UNSUPPORTED_NAME, false, "OpenXR: Unsupported interaction profile " + p_toplevel_path);
|
||||
ERR_FAIL_COND_V_MSG(required_extension == XR_PATH_UNSUPPORTED_NAME, false, "OpenXR: Unsupported toplevel path " + p_toplevel_path);
|
||||
|
||||
if (required_extension == "") {
|
||||
// no extension needed, core top level are always "supported", they just won't be used if not really supported
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue