mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-07 05:38:27 +02:00
Refactor browser & userAgent's capabilities
This commit is contained in:
14
src/types/index.d.ts
vendored
14
src/types/index.d.ts
vendored
@@ -28,8 +28,18 @@ type BxStates = {
|
||||
appContext: any | null;
|
||||
serverRegions: any;
|
||||
|
||||
userAgentHasTouchSupport: boolean;
|
||||
browserHasTouchSupport: boolean;
|
||||
browser: {
|
||||
capabilities: {
|
||||
touch: boolean;
|
||||
batteryApi: boolean;
|
||||
};
|
||||
};
|
||||
|
||||
userAgent: {
|
||||
capabilities: {
|
||||
touch: boolean;
|
||||
};
|
||||
};
|
||||
|
||||
currentStream: Partial<{
|
||||
titleId: string;
|
||||
|
Reference in New Issue
Block a user