diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-21 12:28:36 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-21 12:28:36 -0400 |
| commit | 0668428a5ebc221d39b907f251dc0dc43e30a2df (patch) | |
| tree | b60414cb79057b3e1f38c7e114ab9ec0f6c3d61d /src/api/lsfgApi.ts | |
| parent | a7fb5ee69c8d74534f2994263558ddcd9c8c0d41 (diff) | |
| download | decky-lsfg-vk-0668428a5ebc221d39b907f251dc0dc43e30a2df.tar.gz decky-lsfg-vk-0668428a5ebc221d39b907f251dc0dc43e30a2df.zip | |
testing alt keyboard copy methods
Diffstat (limited to 'src/api/lsfgApi.ts')
| -rw-r--r-- | src/api/lsfgApi.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/api/lsfgApi.ts b/src/api/lsfgApi.ts index 74caa57..b984612 100644 --- a/src/api/lsfgApi.ts +++ b/src/api/lsfgApi.ts @@ -36,6 +36,13 @@ export interface DllStatsResult { error?: string; } +export interface ClipboardResult { + success: boolean; + method?: string; + message?: string; + error?: string; +} + // Use centralized configuration data type export type LsfgConfig = ConfigurationData; @@ -99,6 +106,9 @@ export const getLaunchOption = callable<[], LaunchOptionResult>("get_launch_opti export const getConfigFileContent = callable<[], FileContentResult>("get_config_file_content"); export const getLaunchScriptContent = callable<[], FileContentResult>("get_launch_script_content"); +// Clipboard API +export const copyToSystemClipboard = callable<[string], ClipboardResult>("copy_to_system_clipboard"); + // Updated config function using centralized configuration export const updateLsfgConfig = callable< [string, number, number, boolean, boolean, string, number, boolean, boolean], |
