emscripten: Let SDL_HINT_EMSCRIPTEN_KEYBOARD_ELEMENT accept "#none"

This is used to say "don't even try to listen for keypresses," for apps that
are managing this outside of SDL.

Fixes #10292.
This commit is contained in:
Sam Lantinga
2025-01-18 06:19:27 -08:00
parent c603a9c94a
commit 923123a527
2 changed files with 3 additions and 3 deletions

View File

@@ -730,7 +730,7 @@ extern "C" {
* - "#document": the javascript document object
* - "#screen": the javascript window.screen object
* - "#canvas": the WebGL canvas element
* - "": Don't bind anything at all
* - "#none": Don't bind anything at all
* - any other string without a leading # sign applies to the element on the
* page with that ID.
*