import { PanelSectionRow } from "@decky/ui";
import { ConfigurationData } from "../config/configSchema";
interface UsageInstructionsProps {
config: ConfigurationData;
}
export function UsageInstructions({ config }: UsageInstructionsProps) {
return (
<>
Usage Instructions
{config.enable
? "LSFG is enabled globally. The layer will be active for all games automatically. No launch arguments needed."
: "LSFG is disabled. Enable it above to activate frame generation for all games."
}
{`Current Configuration:
• Enable: ${config.enable ? "Yes" : "No"}
• 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"}`}
The configuration is stored in ~/.config/lsfg-vk/conf.toml and applies to all games globally.
>
);
}