diff --git a/src/lib/controller-manager.ts b/src/lib/controller-manager.ts index 2ac623c8fa..50626fa28b 100644 --- a/src/lib/controller-manager.ts +++ b/src/lib/controller-manager.ts @@ -476,7 +476,16 @@ export class ControllerManager { if (app.changedId) { appId = app.changedId; } - const shiftId = steam.shortcutifyAppId(appId); + const shiftId = steam.shortenAppId(appId); + const legacyShiftId = String(steam.shortcutifyAppId(appId)); + if ( + legacyShiftId !== shiftId && + ((x) => x && x[srmParserKey])( + localConfig[localTopKey].apps[legacyShiftId], + ) + ) { + delete localConfig[localTopKey].apps[legacyShiftId]; + } if (app.steamInputEnabled == "1") { // Use Default Settings if (