diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c index 5e21dd95d..1d71653b2 100644 --- a/src/joystick/SDL_joystick.c +++ b/src/joystick/SDL_joystick.c @@ -3002,7 +3002,7 @@ SDL_bool SDL_IsJoystickSteamController(Uint16 vendor_id, Uint16 product_id) SDL_bool SDL_IsJoystickSteamDeck(Uint16 vendor_id, Uint16 product_id) { EControllerType eType = GuessControllerType(vendor_id, product_id); - return eType == k_eControllerType_SteamDeck; + return eType == k_eControllerType_SteamControllerNeptune; } SDL_bool SDL_IsJoystickXInput(SDL_JoystickGUID guid) diff --git a/src/joystick/controller_list.h b/src/joystick/controller_list.h index 5678db4a4..c8ba2c0ce 100644 --- a/src/joystick/controller_list.h +++ b/src/joystick/controller_list.h @@ -598,5 +598,5 @@ static const ControllerDescription_t arrControllers[] = { { MAKE_CONTROLLER_ID( 0x28de, 0x1142 ), k_eControllerType_SteamController, NULL }, // Valve wireless Steam Controller { MAKE_CONTROLLER_ID( 0x28de, 0x1201 ), k_eControllerType_SteamControllerV2, NULL }, // Valve wired Steam Controller (HEADCRAB) { MAKE_CONTROLLER_ID( 0x28de, 0x1202 ), k_eControllerType_SteamControllerV2, NULL }, // Valve Bluetooth Steam Controller (HEADCRAB) - { MAKE_CONTROLLER_ID( 0x28de, 0x1205 ), k_eControllerType_SteamDeck, NULL }, // Valve Steam Deck Builtin Controller + { MAKE_CONTROLLER_ID( 0x28de, 0x1205 ), k_eControllerType_SteamControllerNeptune, NULL }, // Valve Steam Deck Builtin Controller }; diff --git a/src/joystick/controller_type.h b/src/joystick/controller_type.h index 78c595586..155c8ad11 100644 --- a/src/joystick/controller_type.h +++ b/src/joystick/controller_type.h @@ -37,7 +37,7 @@ typedef enum k_eControllerType_UnknownSteamController = 1, k_eControllerType_SteamController = 2, k_eControllerType_SteamControllerV2 = 3, - k_eControllerType_SteamDeck = 4, + k_eControllerType_SteamControllerNeptune = 4, // Other Controllers k_eControllerType_UnknownNonSteamController = 30,