import { PanelSectionRow } from "@decky/ui"; import { ConfigurationData } from "../config/configSchema"; interface UsageInstructionsProps { config: ConfigurationData; } export function UsageInstructions({ config }: UsageInstructionsProps) { return ( <>
Usage Instructions
Add the launch option below (or use "Launch Option Clipboard") to Steam games to activate frame generation.
~/lsfg %command%
{/*
{`Current Configuration: • DLL Path: ${config.dll} • Multiplier: ${config.multiplier}x • Flow Scale: ${Math.round(config.flow_scale * 100)}% • Performance Mode: ${config.performance_mode ? "Yes" : "No"} • HDR Mode: ${config.hdr_mode ? "Yes" : "No"} • Present Mode: ${config.experimental_present_mode || "Default (FIFO)"} • FPS Limit: ${config.experimental_fps_limit > 0 ? `${config.experimental_fps_limit} FPS` : "Off"}`}
*/}
The configuration is stored in ~/.config/lsfg-vk/conf.toml and hot-reloads while games are running.
); }