yarn: forza dualsense adaptive trigger bridge

This commit is contained in:
2026-05-01 14:26:32 -04:00
parent 4d0ba317e1
commit 1fc2f995c7
5 changed files with 1563 additions and 31 deletions

View File

@@ -15,6 +15,7 @@
./impermanence.nix
./lact.nix
./vr.nix
./forza-trigger
inputs.impermanence.nixosModules.impermanence
];
@@ -95,14 +96,9 @@
# live in ./optiscaler-fh5-rdna3.ini; keys not listed there fall through
# to OptiScaler's "auto" defaults.
#
# Required one-time per-game setup the user has to do in Steam (no API):
# - Properties > Compatibility: pick the GE-Proton tool by hand. The
# `compatTool` option is intentionally unset \u2014 nixpkgs registers
# proton-ge-bin under its versioned id (e.g. GE-Proton10-34), and
# writing the generic "GE-Proton" string silently falls back to
# bundled Proton.
# - In-game: switch the Upscaling option from FSR 2.2 to DLSS or XeSS
# (FSR 2 inputs aren't intercepted). Press Insert to open the Opti
# Required one-time in-game setup the user has to do in FH5 (no API):
# - Switch the Upscaling option from FSR 2.2 to DLSS or XeSS (FSR 2
# inputs aren't intercepted). Press Insert to open the OptiScaler
# overlay and set the FFX upscaler to FSR 4.
#
# OptiScaler.ini is dropped with mode = "init" so in-game overlay edits
@@ -125,8 +121,10 @@
{
enable = true;
closeSteam = true;
defaultCompatTool = "proton_10";
apps."fh5" = {
id = 1551360;
compatTool = "proton_10";
launchOptions.env = {
# OptiScaler FSR 4 INT8 path on this RDNA 3 (Navi 32) box.
# PROTON_FSR4_UPGRADE opts FH5 into Proton's FSR 4 DLL upgrade;
@@ -172,4 +170,8 @@
] fromOpti;
};
};
# PS5 DualSense adaptive triggers in Forza Horizon 4 / 5.
services.forzaTrigger.enable = true;
}