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

Add API to allow handling pointer lock requests and events #125

Merged
merged 1 commit into from May 4, 2023

Conversation

carlosgcampos
Copy link
Contributor

Similar to the fullscreen API there's now a pointer lock handler that can be set to handle the requests to lock or unlock the pointer. A new input type wpe_input_pointer_lock_event has been added, which extends wpe_input_pointer_event to include the movement delta required by pointer lock motion events.

Similar to the fullscreen API there's now a pointer lock handler that
can be set to handle the requests to lock or unlock the pointer. A new
input type wpe_input_pointer_lock_event has been added, which extends
wpe_input_pointer_event to include the movement delta required by pointer
lock motion events.
@carlosgcampos carlosgcampos merged commit cfa9699 into master May 4, 2023
6 checks passed
@carlosgcampos carlosgcampos deleted the carlosgc/pointer-lock branch May 4, 2023 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants