mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-27 00:08:39 +00:00
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. |
||
|---|---|---|
| .. | ||
| SDL_emscriptenevents.c | ||
| SDL_emscriptenevents.h | ||
| SDL_emscriptenframebuffer.c | ||
| SDL_emscriptenframebuffer.h | ||
| SDL_emscriptenmouse.c | ||
| SDL_emscriptenmouse.h | ||
| SDL_emscriptenopengles.c | ||
| SDL_emscriptenopengles.h | ||
| SDL_emscriptenvideo.c | ||
| SDL_emscriptenvideo.h | ||