From 8349e95e3e0ea4d3081739e2b8bb5787b9e366ba Mon Sep 17 00:00:00 2001 From: arbee Date: Sat, 7 Feb 2026 13:32:37 -0500 Subject: Initial support for SDL3. [R. Belmont, Vas Crabb] * SDL3 is the default for macOS targets. Linux/Windows can build with OSD=sdl3 while we wait for better distro support for SDL3. Both X11 and Wayland sessions are fully supported on Linux. * SDL3 -sound=sdl supports both input and output. All other video, sound, and input functionality should otherwise be the same for now. SDL 3.4+ multiple keyboard/mouse support is planned. --- src/osd/modules/input/input_dinput.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/osd/modules/input/input_dinput.cpp') diff --git a/src/osd/modules/input/input_dinput.cpp b/src/osd/modules/input/input_dinput.cpp index 6f539c2f7fc..900aa4b8eec 100644 --- a/src/osd/modules/input/input_dinput.cpp +++ b/src/osd/modules/input/input_dinput.cpp @@ -107,9 +107,13 @@ Rz Rudder #include "util/corestr.h" #ifdef SDLMAME_WIN32 +#ifdef SDLMAME_SDL3 +#include +#else #include #include #endif +#endif #include #include -- cgit v1.2.3