From 81904c7a97a38c415b4fa44d3afa353c1f08e2ab Mon Sep 17 00:00:00 2001 From: sean0407 Date: Sun, 11 Oct 2026 07:18:27 +0800 Subject: [PATCH 1/2] Fix Steam Input shortcut app ID key --- src/lib/controller-manager.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/lib/controller-manager.ts b/src/lib/controller-manager.ts index 2ac623c8fa..79b2d8523b 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 = 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 ( From 613d0ea5c7f01e78ccbce9dae878e6b8dd3e1ab1 Mon Sep 17 00:00:00 2001 From: Chris Dock Date: Sun, 11 Oct 2026 12:41:02 -0700 Subject: [PATCH 2/2] Convert legacyShiftId to string type fix type; make comparison actually bind. It's currently a no op. --- src/lib/controller-manager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/controller-manager.ts b/src/lib/controller-manager.ts index 79b2d8523b..50626fa28b 100644 --- a/src/lib/controller-manager.ts +++ b/src/lib/controller-manager.ts @@ -477,7 +477,7 @@ export class ControllerManager { appId = app.changedId; } const shiftId = steam.shortenAppId(appId); - const legacyShiftId = steam.shortcutifyAppId(appId); + const legacyShiftId = String(steam.shortcutifyAppId(appId)); if ( legacyShiftId !== shiftId && ((x) => x && x[srmParserKey])(