-
Notifications
You must be signed in to change notification settings - Fork 135
Full screen should fully capture keyboard #127
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
Comments
I am looking at implementing this as part of my PR (#116). https://developer.mozilla.org/en-US/docs/Web/API/Keyboard_API "Keyboard locking enables a web page to capture keys that are normally reserved by the user agent or the underlying operating system. The intended use of the Keyboard API is by web applications such as games or remote access apps that provide a fullscreen immersive experience." |
I've done a similar thing in the past with a tangental bit of software that I wrote: https://github.com/pod-arcade/client-web/blob/main/packages/session/src/components/Keyboard.tsx. It is a bit of complexity to make sure the state is synchronized between being fullscreen and fully capturing the keyboard. |
Thank you for this @tutman96 I've had a really quick look, and I think it should help with my implementation, I might actually leave it open for another PR tbh, because my work load has changed a lot and not had much time to work on OSS. |
When in full screen mode in Chrome 132 on Windows 11, many key combinations such as Alt-Tab, Crtl-Esc and so on, activate local Windows functions rather than being sent to the remote device. When in full screen mode, the keyboard should be fully captured and always sent to the remote device.
The text was updated successfully, but these errors were encountered: