Compare commits

..
Author SHA1 Message Date
dependabot[bot] 5007994bd0 Bump app/SDL_GameControllerDB from 8d9fefd to 42f28e2
Bumps [app/SDL_GameControllerDB](https://github.com/gabomdq/SDL_GameControllerDB) from `8d9fefd` to `42f28e2`.
- [Commits](https://github.com/gabomdq/SDL_GameControllerDB/compare/8d9fefd7b810f2541f78cc7a8ccbd185bc84c7a5...42f28e22d20761e7004e8db91c4ad86402fdf600)

---
updated-dependencies:
- dependency-name: app/SDL_GameControllerDB
  dependency-version: 42f28e22d20761e7004e8db91c4ad86402fdf600
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-08-17 05:43:35 +00:00
3 changed files with 3 additions and 28 deletions
+1 -26
View File
@@ -701,32 +701,7 @@ void SdlInputHandler::handleControllerDeviceEvent(SDL_ControllerDeviceEvent* eve
type = LI_CTYPE_NINTENDO;
break;
default:
// These Steam Controller VID/PID combos come from SDL's controller_list.h
// TODO: Use SDL_GAMEPAD_TYPE_STEAM on SDL 3.6+
if (vendorId == 0x28de) {
switch (productId) {
case 0x1101:
case 0x1102:
case 0x1105:
case 0x1106:
case 0x1142:
case 0x1201:
case 0x1202:
case 0x1205:
case 0x1302:
case 0x1303:
case 0x1304:
case 0x1305:
type = LI_CTYPE_STEAM;
break;
default:
type = LI_CTYPE_UNKNOWN;
break;
}
}
else {
type = LI_CTYPE_UNKNOWN;
}
type = LI_CTYPE_UNKNOWN;
break;
}