diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-13 10:16:19 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-13 10:16:19 +0100 |
commit | cd855f6516d48ff960cd904d29abbb324149f3c8 (patch) | |
tree | 66b4942ea8a6f258e985f524d241b8325b297dd8 /modules/openxr/action_map/openxr_interaction_profile.h | |
parent | cb7984e4113828f4c56d906f03f905053afc909a (diff) | |
parent | 96bbdf72490971d886f6ce57476f11bb14523f15 (diff) |
Merge pull request #68528 from BastiaanOlij/openxr_actionmap_changes
Various fixes for OpenXR action map meta data and editing
Diffstat (limited to 'modules/openxr/action_map/openxr_interaction_profile.h')
-rw-r--r-- | modules/openxr/action_map/openxr_interaction_profile.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/openxr/action_map/openxr_interaction_profile.h b/modules/openxr/action_map/openxr_interaction_profile.h index c77fd490bb..c7db77870e 100644 --- a/modules/openxr/action_map/openxr_interaction_profile.h +++ b/modules/openxr/action_map/openxr_interaction_profile.h @@ -34,7 +34,7 @@ #include "core/io/resource.h" #include "openxr_action.h" -#include "openxr_defs.h" +#include "openxr_interaction_profile_meta_data.h" class OpenXRIPBinding : public Resource { GDCLASS(OpenXRIPBinding, Resource); @@ -94,6 +94,7 @@ public: void add_new_binding(const Ref<OpenXRAction> p_action, const char *p_paths); // Create a new binding for this profile void remove_binding_for_action(const Ref<OpenXRAction> p_action); // Remove all bindings for this action + bool has_binding_for_action(const Ref<OpenXRAction> p_action); // Returns true if we have a binding for this action ~OpenXRInteractionProfile(); }; |