mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-06 13:18:27 +02:00
Game-specific settings (#623)
This commit is contained in:
13
src/types/preferences.d.ts
vendored
13
src/types/preferences.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
export type PreferenceSetting = {
|
||||
type PreferenceSetting = {
|
||||
default: any;
|
||||
optionsGroup?: string;
|
||||
options?: { [index: string]: string };
|
||||
@@ -17,4 +17,13 @@ export type PreferenceSetting = {
|
||||
label?: string;
|
||||
};
|
||||
|
||||
export type PreferenceSettings = { [index in PrefKey]: PreferenceSetting };
|
||||
type PreferenceSettings = { [index in PrefKey]: PreferenceSetting };
|
||||
|
||||
type StreamPreferredLocale = 'default' | string;
|
||||
|
||||
type ControllerSetting = {
|
||||
shortcutPresetId: number;
|
||||
customizationPresetId: number;
|
||||
}
|
||||
|
||||
type ControllerSettings = Record<string, ControllerSetting>;
|
||||
|
Reference in New Issue
Block a user