@@ -79,7 +79,6 @@ static s32 numJoysticks = 0;
7979
8080static s32 useHIDAPI = 1 ;
8181static s32 useRawInput = 1 ;
82- static s32 useNintendoLayout = 0 ;
8382
8483static s32 mouseEnabled = 1 ;
8584static s32 mouseX , mouseY ;
@@ -750,18 +749,6 @@ s32 inputInit(void)
750749 SDL_SetHint (SDL_HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT , "1" );
751750 }
752751
753- if (useNintendoLayout ) {
754- // use the Nintendo-style face button layout
755- // this is the default in SDL 2.0.6 and later
756- SDL_SetHint (SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS , "1" );
757- } else {
758- #if SDL_VERSION_ATLEAST (2 , 0 , 6 )
759- // use the Xbox-style face button layout
760- // this is set by default, but we set it explicitly here to avoid confusion
761- SDL_SetHint (SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS , "0" );
762- #endif
763- }
764-
765752 if (!SDL_WasInit (SDL_INIT_GAMECONTROLLER | SDL_INIT_HAPTIC )) {
766753 SDL_InitSubSystem (SDL_INIT_GAMECONTROLLER | SDL_INIT_HAPTIC );
767754 }
@@ -1637,7 +1624,6 @@ PD_CONSTRUCTOR static void inputConfigInit(void)
16371624 configRegisterInt ("Input.FirstGamepadNum" , & firstController , 0 , 3 );
16381625 configRegisterInt ("Input.UseHIDAPI" , & useHIDAPI , 0 , 1 );
16391626 configRegisterInt ("Input.UseRawInput" , & useRawInput , 0 , 1 );
1640- configRegisterInt ("Input.UseNintendoLayout" , & useNintendoLayout , 0 , 1 );
16411627
16421628 char secname [] = "Input.Player1.Binds" ;
16431629 char keyname [256 ] = { 0 };
0 commit comments