mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-06 13:18:27 +02:00
6.0
This commit is contained in:
28
src/types/global.d.ts
vendored
Executable file
28
src/types/global.d.ts
vendored
Executable file
@@ -0,0 +1,28 @@
|
||||
import type { BxExposed } from "@/utils/bx-exposed";
|
||||
import type { AllPresets, ControllerShortcutPresetRecord } from "./presets";
|
||||
import type { PrefKey } from "@/enums/pref-keys";
|
||||
import type { StreamSettings, type StreamSettingsData } from "@/utils/stream-settings";
|
||||
|
||||
export {};
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
AppInterface: any;
|
||||
BX_FLAGS?: BxFlags;
|
||||
BX_CE: (elmName: string, props: {[index: string]: any}={}) => HTMLElement;
|
||||
BX_EXPOSED: typeof BxExposed & Partial<{
|
||||
shouldShowSensorControls: boolean;
|
||||
stopTakRendering: boolean;
|
||||
dialogRoutes: {
|
||||
closeAll: () => void;
|
||||
};
|
||||
showStreamMenu: () => void;
|
||||
inputSink: any;
|
||||
streamSession: any;
|
||||
touchLayoutManager: any;
|
||||
}>;
|
||||
|
||||
BX_REMOTE_PLAY_CONFIG: BxStates.remotePlay.config;
|
||||
BX_STREAM_SETTINGS: StreamSettingsData;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user