diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-17 14:53:18 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-17 14:53:18 -0400 |
| commit | ad0ba0fc61f83e2aaf22192e7d0ad05dde9ffd62 (patch) | |
| tree | c21ec14e1c5783691f101fd43cfb2cc7424f1e33 /src | |
| parent | 57bd1cd9fcbbc8d4cd1d2f45106fc29d00bb6918 (diff) | |
| download | decky-lsfg-vk-ad0ba0fc61f83e2aaf22192e7d0ad05dde9ffd62.tar.gz decky-lsfg-vk-ad0ba0fc61f83e2aaf22192e7d0ad05dde9ffd62.zip | |
fix descriptions and cleanup UI
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/ConfigurationSection.tsx | 12 | ||||
| -rw-r--r-- | src/config/configSchema.ts | 14 |
2 files changed, 9 insertions, 17 deletions
diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx index 118b418..a1c175a 100644 --- a/src/components/ConfigurationSection.tsx +++ b/src/components/ConfigurationSection.tsx @@ -30,25 +30,25 @@ export function ConfigurationSection({ <PanelSectionRow> <ToggleField label="Enable LSFG" - description="enable/disable lsfg on every game" + description="enable/disable lsfg globally (apply before launching games)" checked={config.enable} onChange={(value) => onConfigChange('enable', value)} /> </PanelSectionRow> - <PanelSectionRow> + {/* <PanelSectionRow> <TextField label="Lossless.dll Path" description="specify where Lossless.dll is stored" value={config.dll} onChange={(e) => onConfigChange('dll', e.target.value)} /> - </PanelSectionRow> + </PanelSectionRow> */} <PanelSectionRow> <SliderField label="FPS Multiplier" - description="change the fps multiplier" + description="Traditional FPS multiplier value" value={config.multiplier} min={2} max={4} @@ -78,7 +78,7 @@ export function ConfigurationSection({ <PanelSectionRow> <ToggleField label="Performance Mode" - description="toggle performance mode (2x-8x performance increase)" + description="use lighter model for FG" checked={config.performance_mode} onChange={(value) => onConfigChange('performance_mode', value)} /> @@ -87,7 +87,7 @@ export function ConfigurationSection({ <PanelSectionRow> <ToggleField label="HDR Mode" - description="enable hdr mode (doesn't support scrgb)" + description="Enables HDR mode (only for games that support HDR)" checked={config.hdr_mode} onChange={(value) => onConfigChange('hdr_mode', value)} /> diff --git a/src/config/configSchema.ts b/src/config/configSchema.ts index 83dc4aa..6dc8687 100644 --- a/src/config/configSchema.ts +++ b/src/config/configSchema.ts @@ -48,21 +48,21 @@ export const CONFIG_SCHEMA: Record<string, ConfigField> = { name: "flow_scale", fieldType: ConfigFieldType.FLOAT, default: 0.8, - description: "change the flow scale (lower = faster)" + description: "change the flow scale" }, performance_mode: { name: "performance_mode", fieldType: ConfigFieldType.BOOLEAN, default: true, - description: "toggle performance mode (2x-8x performance increase)" + description: "toggle performance mode" }, hdr_mode: { name: "hdr_mode", fieldType: ConfigFieldType.BOOLEAN, default: false, - description: "enable hdr mode (doesn't support scrgb)" + description: "enable hdr in games that support it" } }; @@ -75,14 +75,6 @@ export interface ConfigurationData { performance_mode: boolean; hdr_mode: boolean; } - multiplier: number; - flow_scale: number; - hdr: boolean; - perf_mode: boolean; - immediate_mode: boolean; - disable_vkbasalt: boolean; - frame_cap: number; -} // Centralized configuration manager export class ConfigurationManager { |
