Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose OpenXR action handles to GDExtension #101503

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

devloglogan
Copy link
Contributor

This PR exposes two OpenXRAPI functions for use with GDExtension: find_action() and action_get_handle(). This makes it so that an extension could get the OpenXR XrAction handle for a corresponding action by searching for the actions name.

Getting access to action handles would be useful in the context of the XR_FB_haptic_amplitude_envelope and XR_FB_haptic_pcm OpenXR extensions, as both extensions require access to the action handle for haptic output.

@devloglogan devloglogan force-pushed the openxr-api-action-handle branch from c7f6a2c to c5e40e1 Compare January 13, 2025 19:07
@akien-mga akien-mga merged commit d19147e into godotengine:master Jan 13, 2025
20 checks passed
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants