mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-04-28 21:37:58 +03:00
Face Button follows Positional Button layout instead of Labels (#1045)
* 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 * added description for Button Labels * slightly reworded the description * spaced out the initiation hints
This commit is contained in:
parent
53596b8e5c
commit
acf260af79
1 changed files with 2 additions and 0 deletions
|
@ -310,6 +310,8 @@ 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"); // Uses Button Labels. This hint is disabled for Nintendo Controllers.
|
||||
|
||||
SDL_InitSubSystem(SDL_INIT_EVENTS);
|
||||
SDL_AddEventWatch(HID_OnSDLEvent, nullptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue