I am trying to publish a multi-platform game (Windows/Webview2; Linux/CEF; macOS/WKWebView).
My pause control is mapped to the escape key. On Windows & Linux, this is fine. However, in the macOS version, the esc press will exit fullscreen.
Is there some way to intercept the keypress events so that the escape key is only used in-game and doesn't un-fullscreen the browser?
Or do I just need to change my keybinds on mac to avoid this issue?