mirror of
https://github.com/hedge-dev/UnleashedRecomp
synced 2026-05-23 23:05:48 -04:00
Experimenting Button Label
Experimenting a way to add a hint for Button Labels. It should attempt to fix the Nintendo Layout issue when using a Nintendo Switch controller
This commit is contained in:
@@ -310,6 +310,7 @@ void hid::Init()
|
||||
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE, "1");
|
||||
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_WII, "1");
|
||||
SDL_SetHint(SDL_HINT_XINPUT_ENABLED, "1");
|
||||
SDL_SetHint(SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS, "0");
|
||||
|
||||
SDL_InitSubSystem(SDL_INIT_EVENTS);
|
||||
SDL_AddEventWatch(HID_OnSDLEvent, nullptr);
|
||||
|
||||
Reference in New Issue
Block a user