SDL_HINT_EMSCRIPTEN_KEYBOARD_ELEMENT

Override the binding element for keyboard inputs for Emscripten builds.

This hint only applies to the emscripten platform.

The variable can be one of: - "#window": The javascript window object - "#document": The javascript document object - "#screen": The javascript window.screen object - "#canvas": The WebGL canvas element - "#none": Don't bind anything at all - Any other string without a leading # sign applies to the element on the page with that ID.

This hint should be set before creating a window.

extern (C) nothrow @nogc
enum SDL_HINT_EMSCRIPTEN_KEYBOARD_ELEMENT = "SDL_EMSCRIPTEN_KEYBOARD_ELEMENT";

Meta