mirror of
https://github.com/Cogential/frametanium.git
synced 2026-10-17 11:00:29 +02:00
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:
1 parent
719d87f752
commit
6c9c5f4ce7
1 file changed
+3
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user