App: let SDL see Steam's virtual gamepad as an Xbox pad, so the D-pad and sticks work on the Frame

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VHDaz86aayqMULHsjByEmT
This commit is contained in:
CogentialandClaude Opus 5.5 committed 2026-10-09 16:09:15 -04:00
1 parent 719d87f752
commit 6c9c5f4ce7
1 file changed
+3
+3
View File
@@ -18,6 +18,9 @@ cat > "$OUT/run.sh" <<'RUN'
# Steam launches this. FrameDrop-style installs lose the executable bit, so restore it first.
cd "$(dirname "$0")" || exit 1
chmod +x ./frametanium 2>/dev/null
# Steam describes its virtual Xbox pad as "Steam Frame Controllers" (28de:11e0), which SDL has no mapping for,
# so only some buttons would arrive; without the description SDL maps it as the Xbox pad it is.
unset SteamVirtualGamepadInfo
exec ./frametanium "$@"
RUN
chmod +x "$OUT/run.sh"