mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-05-13 23:27:21 +03:00
proton: Enable the new SDL 2.30 Steam Input integration.
CW-Bug-Id: #23185
This commit is contained in:
parent
3bf7e4d032
commit
5d805b6986
7
proton
7
proton
@ -1317,6 +1317,10 @@ class Session:
|
|||||||
else:
|
else:
|
||||||
self.env.pop("LC_ALL", "")
|
self.env.pop("LC_ALL", "")
|
||||||
|
|
||||||
|
# CW-Bug-Id: #23185 Enable the new SDL 2.30 Steam Input integration.
|
||||||
|
if "SteamVirtualGamepadInfo_Proton" in self.env and "SteamVirtualGamepadInfo" not in self.env:
|
||||||
|
self.env["SteamVirtualGamepadInfo"] = self.env["SteamVirtualGamepadInfo_Proton"]
|
||||||
|
|
||||||
self.env.pop("WINEARCH", "")
|
self.env.pop("WINEARCH", "")
|
||||||
|
|
||||||
if 'ORIG_'+ld_path_var not in os.environ:
|
if 'ORIG_'+ld_path_var not in os.environ:
|
||||||
@ -1746,9 +1750,6 @@ if __name__ == "__main__":
|
|||||||
log("No compat data path?")
|
log("No compat data path?")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# CW-Bug-Id: #23185 Avoid triggering new SDL 2.30 behavior.
|
|
||||||
os.environ.pop('SteamVirtualGamepadInfo', None)
|
|
||||||
|
|
||||||
g_proton = Proton(os.path.dirname(sys.argv[0]))
|
g_proton = Proton(os.path.dirname(sys.argv[0]))
|
||||||
|
|
||||||
g_proton.cleanup_legacy_dist()
|
g_proton.cleanup_legacy_dist()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user