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

Allow cursor grab on web using pointer lock API #5638

Open
LioQing opened this issue Jan 26, 2025 · 0 comments
Open

Allow cursor grab on web using pointer lock API #5638

LioQing opened this issue Jan 26, 2025 · 0 comments

Comments

@LioQing
Copy link

LioQing commented Jan 26, 2025

Is your feature request related to a problem? Please describe.
Currently, sending ViewportCommand::CursorGrab to viewport command on web does nothing. Console outputs state that it is not supported on the web.

Describe the solution you'd like
The command should be able to lock the cursor by using the pointer lock API.

Describe alternatives you've considered
Can't find any alternatives on the internet but there was #1605 which seems to be outdated and unrelated.

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

No branches or pull requests

1 participant