SDL/src/video/emscripten
Ryan C. Gordon 536126fdcf emscripten: Move over to using Pointer Events for all mouse, pen, and touch.
This allows us to avoid browser mouse emulation for touches, since we provide
our own anyhow.

The other option is to "prevent default" in the legacy touch event handlers we
historically used, to tell the browser not to supply emulation, but we can't
currently tell Emscripten to mark those handlers as not "passive," so as it
stands they are unable to prevent default. Using Pointer Events bypasses this
problem entirely.

Fixes #13161.
2025-07-13 16:06:03 -04:00
..
SDL_emscriptenevents.c emscripten: Move over to using Pointer Events for all mouse, pen, and touch. 2025-07-13 16:06:03 -04:00
SDL_emscriptenevents.h Move global event handlers to SDL_VideoInit 2025-04-04 10:21:12 -07:00
SDL_emscriptenframebuffer.c Use consistent style for pointer declarations and casts 2025-06-18 10:03:44 -07:00
SDL_emscriptenframebuffer.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_emscriptenmouse.c Handle global mouse state for Emscripten (#12669) 2025-04-02 07:21:21 -07:00
SDL_emscriptenmouse.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_emscriptenopengles.c Emscripten: fix incorrect error check for WebGL context creation 2025-04-24 11:25:58 -07:00
SDL_emscriptenopengles.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_emscriptenvideo.c emscripten: Proxy Emscripten_GetSystemTheme and EMSCRIPTENAUDIO_OpenDevice to the main thread. 2025-05-25 13:50:02 -07:00
SDL_emscriptenvideo.h emscripten: add window properties for canvas ID and keyboard element (#12509) 2025-03-14 09:39:46 -07:00