mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-26 20:31:41 +00:00
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.
This commit is contained in:
parent
50fc64ffd4
commit
570fab604c
1 changed files with 0 additions and 3 deletions
|
|
@ -202,7 +202,6 @@ static void SetControllerInputDevice(Controller* controller)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void SetControllerTimeOfDayLED(Controller& controller, bool isNight)
|
static void SetControllerTimeOfDayLED(Controller& controller, bool isNight)
|
||||||
{
|
{
|
||||||
auto r = isNight ? 22 : 0;
|
auto r = isNight ? 22 : 0;
|
||||||
|
|
@ -327,8 +326,6 @@ void hid::Init()
|
||||||
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_WII, "1");
|
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_WII, "1");
|
||||||
SDL_SetHint(SDL_HINT_XINPUT_ENABLED, "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_InitSubSystem(SDL_INIT_EVENTS);
|
||||||
SDL_AddEventWatch(HID_OnSDLEvent, nullptr);
|
SDL_AddEventWatch(HID_OnSDLEvent, nullptr);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue