Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5007994bd0 |
+1
-1
Submodule app/SDL_GameControllerDB updated: 8d9fefd7b8...42f28e22d2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Submodule moonlight-common-c/moonlight-common-c updated: 874ac9548f...e41355ea01
Reference in New Issue
Block a user