neko/client/src/types
Ethan Waldo 10e2fbd499 Use Keyboard API to lock screen for supported browsers
When using fullscreen mode, hitting the escape key will exit out of
fullscreen mode.  To stay in fullscreen mode but pass the escape
key through, we can use the Keyboard API to require the escape key
be held down https://wicg.github.io/keyboard-lock/#escape-key.

Tested in Chrome which supports Keyboard API and Firefox which does
not https://caniuse.com/?search=navigator.keyboard with no errors
in either case.
2023-01-06 20:10:34 -05:00
..
eventemitter3.d.ts refactor progress 2020-01-22 17:16:40 +00:00
navigator.keyboard.d.ts Use Keyboard API to lock screen for supported browsers 2023-01-06 20:10:34 -05:00
shims-scss.d.ts first commit 2020-01-13 08:05:38 +00:00
shims-tsx.d.ts first commit 2020-01-13 08:05:38 +00:00
shims-vue.d.ts first commit 2020-01-13 08:05:38 +00:00