From 9982db7405cd59577dd9a97da5cdf6161f39842a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bernon?= Date: Tue, 23 Jan 2024 09:43:02 +0100 Subject: [PATCH] proton: Enable the new SDL 2.30 Steam Input integration. CW-Bug-Id: #23185 --- proton | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proton b/proton index 41b9c19f..60027060 100755 --- a/proton +++ b/proton @@ -1172,6 +1172,10 @@ class Session: else: 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", "") if 'ORIG_'+ld_path_var not in os.environ: