mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-21 12:18:28 +00:00
Don't switch the PS5 controller out of DirectInput mode by default
This commit is contained in:
parent
b4b674dabb
commit
4ec776c334
3 changed files with 92 additions and 36 deletions
|
@ -604,7 +604,7 @@ static ControllerMapping_t *SDL_CreateMappingForHIDAPIController(SDL_JoystickGUI
|
|||
break;
|
||||
case SDL_CONTROLLER_TYPE_PS5:
|
||||
/* PS5 controllers have a microphone button and an additional touchpad button */
|
||||
SDL_strlcat(mapping_string, "misc1:b15,touchpad:b16", sizeof(mapping_string));
|
||||
SDL_strlcat(mapping_string, "touchpad:b15,misc1:b16", sizeof(mapping_string));
|
||||
break;
|
||||
case SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_PRO:
|
||||
/* Nintendo Switch Pro controllers have a screenshot button */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue