From 91f8b4dea2e005f536898eea2dcc0d9dfb39ecf6 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 17 Dec 2023 10:07:46 -0800 Subject: [PATCH] Added a controller name for the Steam virtual gamepad (cherry picked from commit 4d5949dcf64f2633b1b435fb0c22a3b0b44d855f) --- src/joystick/controller_list.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/joystick/controller_list.h b/src/joystick/controller_list.h index 4d74cda5a..f508b167f 100644 --- a/src/joystick/controller_list.h +++ b/src/joystick/controller_list.h @@ -592,6 +592,7 @@ static const ControllerDescription_t arrControllers[] = { { MAKE_CONTROLLER_ID( 0x28de, 0x1102 ), k_eControllerType_SteamController, NULL }, // Valve wired Steam Controller (D0G) { MAKE_CONTROLLER_ID( 0x28de, 0x1105 ), k_eControllerType_SteamController, NULL }, // Valve Bluetooth Steam Controller (D0G) { MAKE_CONTROLLER_ID( 0x28de, 0x1106 ), k_eControllerType_SteamController, NULL }, // Valve Bluetooth Steam Controller (D0G) + { MAKE_CONTROLLER_ID( 0x28de, 0x11ff ), k_eControllerType_UnknownNonSteamController, "Steam Virtual Gamepad" }, // Steam virtual gamepad { 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)