From 876158c2b805c76e7c88096fc6527b68ee389fbd Mon Sep 17 00:00:00 2001 From: Esme Povirk Date: Fri, 22 Mar 2024 19:08:52 +0000 Subject: [PATCH] proton: Add and document compat flag for xalia. --- README.md | 1 + proton | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 11f323c1..cab55b4f 100644 --- a/README.md +++ b/README.md @@ -309,6 +309,7 @@ the Wine prefix. Removing the option will revert to the previous behavior. | | `WINE_FULLSCREEN_INTEGER_SCALING` | Enable integer scaling mode, to give sharp pixels when upscaling. | | `cmdlineappend:` | | Append the string after the colon as an argument to the game command. May be specified more than once. Escape commas and backslashes with a backslash. | | `nosteamffmpeg` | `PROTON_NO_STEAM_FFMPEG` | Ignore ffmpeg that ships with Steam. Some videos may not play. | +| `xalia` | `PROTON_USE_XALIA` | Enable Xalia, a program that can add a gamepad UI for some keyboard/mouse interfaces. | | `seccomp` | `PROTON_USE_SECCOMP` | **Note: Obsoleted in Proton 5.13.** In older versions, enable seccomp-bpf filter to emulate native syscalls, required for some DRM protections to work. | | `d9vk` | `PROTON_USE_D9VK` | **Note: Obsoleted in Proton 5.0.** In older versions, use Vulkan-based DXVK instead of OpenGL-based wined3d for d3d9. | diff --git a/proton b/proton index 2223f7fa..d026b8b7 100755 --- a/proton +++ b/proton @@ -1407,6 +1407,9 @@ class Session: if "noopwr" in self.compat_config: self.env["WINE_DISABLE_VULKAN_OPWR"] = "1" + if "xalia" in self.compat_config and "PROTON_USE_XALIA" not in self.env: + self.env["PROTON_USE_XALIA"] = "1" + if "PROTON_CRASH_REPORT_DIR" in self.env: self.env["WINE_CRASH_REPORT_DIR"] = self.env["PROTON_CRASH_REPORT_DIR"]