diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-07-30 21:09:27 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-07-30 21:09:27 -0400 |
| commit | eb51ec80231cf13accf8af156fa7a4283e2a2f88 (patch) | |
| tree | 95fd368b42efa29f28b924c8884a8f0d4c80d123 /src/components/ConfigurationSection.tsx | |
| parent | 4390d600ffd35184c4c30bc64480f58e468627de (diff) | |
| download | decky-lsfg-vk-eb51ec80231cf13accf8af156fa7a4283e2a2f88.tar.gz decky-lsfg-vk-eb51ec80231cf13accf8af156fa7a4283e2a2f88.zip | |
fix: harden lsfg-v2 migration and flatpak supportfeat/lsfg-v2-release
Diffstat (limited to 'src/components/ConfigurationSection.tsx')
| -rw-r--r-- | src/components/ConfigurationSection.tsx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx index 7143bb1..538975e 100644 --- a/src/components/ConfigurationSection.tsx +++ b/src/components/ConfigurationSection.tsx @@ -4,7 +4,7 @@ import { RiArrowDownSFill, RiArrowUpSFill } from "react-icons/ri"; import { ConfigurationData } from "../config/configSchema"; import { ACTIVE_IN, ALLOW_FP16, DISABLE_LSFGVK, DLL, FLOW_SCALE, GPU, - PERFORMANCE_MODE, DXVK_FRAME_RATE, DISABLE_STEAMDECK_MODE, + PERFORMANCE_MODE, USE_NATIVE_MATCHING, DXVK_FRAME_RATE, DISABLE_STEAMDECK_MODE, MANGOHUD_WORKAROUND, DISABLE_VKBASALT, FORCE_ENABLE_VKBASALT, ENABLE_WSI, ENABLE_ZINK } from "../config/generatedConfigSchema"; @@ -164,13 +164,22 @@ export function ConfigurationSection({ <PanelSectionRow> <TextField label="Active In" - description="Executable/process names separated by commas. When set, lsfg-vk matches profiles automatically." + description="Executable/process names separated by commas." value={config.active_in} onChange={(event) => onConfigChange(ACTIVE_IN, event.currentTarget.value)} /> </PanelSectionRow> <PanelSectionRow> + <ToggleField + label="Use Automatic Profile Matching" + description="Let lsfg-vk choose a matching Active In profile instead of forcing the profile selected in Decky." + checked={config.use_native_matching} + onChange={(value) => onConfigChange(USE_NATIVE_MATCHING, value)} + /> + </PanelSectionRow> + + <PanelSectionRow> <SliderField label={`Base FPS Cap${config.dxvk_frame_rate > 0 ? ` (${config.dxvk_frame_rate} FPS)` : " (Off)"}`} description="Base framerate cap for DirectX games, before frame multiplier. (Requires game restart to apply)" |
