From 570fab604c907549719a1a5e8cb3f161c0b9b334 Mon Sep 17 00:00:00 2001 From: AL2009man <67606569+AL2009man@users.noreply.github.com> Date: Thu, 20 Mar 2025 16:41:54 -0400 Subject: [PATCH] remove "SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS" hint since #1045 will include it: we're gonna get rid of it on this code section to avoid conflicts. --- UnleashedRecomp/hid/driver/sdl_hid.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/UnleashedRecomp/hid/driver/sdl_hid.cpp b/UnleashedRecomp/hid/driver/sdl_hid.cpp index d5780605..3a73577c 100644 --- a/UnleashedRecomp/hid/driver/sdl_hid.cpp +++ b/UnleashedRecomp/hid/driver/sdl_hid.cpp @@ -202,7 +202,6 @@ static void SetControllerInputDevice(Controller* controller) } } - static void SetControllerTimeOfDayLED(Controller& controller, bool isNight) { auto r = isNight ? 22 : 0; @@ -327,8 +326,6 @@ void hid::Init() SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_WII, "1"); SDL_SetHint(SDL_HINT_XINPUT_ENABLED, "1"); - SDL_SetHint(SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS, "0"); // Uses Button Labels. This hint is disabled for Nintendo Controllers. - SDL_InitSubSystem(SDL_INIT_EVENTS); SDL_AddEventWatch(HID_OnSDLEvent, nullptr);