From 8bdca28cca62afa3b1697cba71c735fc3deea41e Mon Sep 17 00:00:00 2001
From: xXJSONDeruloXx <danielhimebauch@gmail.com>
Date: Mon, 3 Aug 2026 11:55:35 -0400
Subject: refactor: remove legacy profile controls

---
 src/components/ConfigurationSection.tsx | 42 +++------------------------------
 1 file changed, 3 insertions(+), 39 deletions(-)

(limited to 'src/components/ConfigurationSection.tsx')

diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx
index 538975e..1ab570b 100644
--- a/src/components/ConfigurationSection.tsx
+++ b/src/components/ConfigurationSection.tsx
@@ -1,10 +1,10 @@
-import { PanelSectionRow, ToggleField, SliderField, ButtonItem, TextField } from "@decky/ui";
+import { PanelSectionRow, ToggleField, SliderField, ButtonItem } from "@decky/ui";
 import { useState, useEffect } from "react";
 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, USE_NATIVE_MATCHING, DXVK_FRAME_RATE, DISABLE_STEAMDECK_MODE,
+  ALLOW_FP16, DISABLE_LSFGVK, FLOW_SCALE,
+  PERFORMANCE_MODE, DXVK_FRAME_RATE, DISABLE_STEAMDECK_MODE,
   MANGOHUD_WORKAROUND, DISABLE_VKBASALT, FORCE_ENABLE_VKBASALT, ENABLE_WSI, ENABLE_ZINK
 } from "../config/generatedConfigSchema";
 
@@ -113,15 +113,6 @@ export function ConfigurationSection({
 
       {!configCollapsed && (
         <>
-          <PanelSectionRow>
-            <TextField
-              label="Lossless.dll Path"
-              description="Optional full path to Lossless.dll. Leave blank for lsfg-vk automatic discovery."
-              value={config.dll}
-              onChange={(event) => onConfigChange(DLL, event.currentTarget.value)}
-            />
-          </PanelSectionRow>
-
           <PanelSectionRow>
             <SliderField
               label={`Flow Scale (${Math.round(config.flow_scale * 100)}%)`}
@@ -152,33 +143,6 @@ export function ConfigurationSection({
             />
           </PanelSectionRow>
 
-          <PanelSectionRow>
-            <TextField
-              label="GPU"
-              description="Optional GPU name, vendor:device ID, or PCI bus ID."
-              value={config.gpu}
-              onChange={(event) => onConfigChange(GPU, event.currentTarget.value)}
-            />
-          </PanelSectionRow>
-
-          <PanelSectionRow>
-            <TextField
-              label="Active In"
-              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)"}`}
-- 
cgit v1.2.3

