diff --git a/aurora/lib/aurora.cpp b/aurora/lib/aurora.cpp index 2b08afcc3..e83007f25 100644 --- a/aurora/lib/aurora.cpp +++ b/aurora/lib/aurora.cpp @@ -230,14 +230,17 @@ void app_run(std::unique_ptr app, Icon icon, int argc, char** argv) for (size_t i = 1; i < argc; ++i) { g_Args.emplace_back(argv[i]); } -#if !defined(_WIN32) && !defined(__APPLE__) - SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0"); -#endif + if (SDL_Init(SDL_INIT_EVERYTHING) < 0) { Log.report(logvisor::Fatal, FMT_STRING("Error initializing SDL: {}"), SDL_GetError()); unreachable(); } +#if !defined(_WIN32) && !defined(__APPLE__) + SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0"); +#endif + SDL_SetHint(SDL_HINT_JOYSTICK_GAMECUBE_RUMBLE_BRAKE, "1"); + Uint32 flags = SDL_WINDOW_SHOWN | SDL_WINDOW_ALLOW_HIGHDPI | SDL_WINDOW_RESIZABLE; switch (gpu::preferredBackendType) { #ifdef DAWN_ENABLE_BACKEND_VULKAN diff --git a/extern/SDL b/extern/SDL index b1fafe65d..16612cae4 160000 --- a/extern/SDL +++ b/extern/SDL @@ -1 +1 @@ -Subproject commit b1fafe65d63a947d262e750afccbc6eee28cace1 +Subproject commit 16612cae46c00bbd3e166896bd8125bb6a35b4f3