mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-03 06:07:19 +02:00
Move bx-events/exposed/flags files to utils/
This commit is contained in:
parent
51102a7687
commit
293e3c8d73
@ -1,8 +1,8 @@
|
||||
import { getBuildConfig } from "./build-config" with { type: "macro" };
|
||||
import "./utils/global";
|
||||
import { BxEvent } from "./modules/bx-event";
|
||||
import { BX_FLAGS } from "./modules/bx-flags";
|
||||
import { BxExposed } from "./modules/bx-exposed";
|
||||
import { BxEvent } from "./utils/bx-event";
|
||||
import { BX_FLAGS } from "./utils/bx-flags";
|
||||
import { BxExposed } from "./utils/bx-exposed";
|
||||
import { t } from "./modules/translation";
|
||||
import { CE } from "./utils/html";
|
||||
import { showGamepadToast } from "./utils/gamepad";
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { MkbPreset } from "./mkb-preset";
|
||||
import { GamepadKey, MkbPresetKey, GamepadStick, MouseMapTo } from "./definitions";
|
||||
import { createButton, Icon, ButtonStyle, CE } from "../../utils/html";
|
||||
import { BxEvent } from "../bx-event";
|
||||
import { BxEvent } from "../../utils/bx-event";
|
||||
import { PrefKey, getPref } from "../preferences";
|
||||
import { Toast } from "../../utils/toast";
|
||||
import { t } from "../translation";
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { STATES } from "../utils/global";
|
||||
import { BX_FLAGS } from "./bx-flags";
|
||||
import { BX_FLAGS } from "../utils/bx-flags";
|
||||
import { getPref, PrefKey } from "./preferences";
|
||||
import { VibrationManager } from "./vibration-manager";
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { STATES, AppInterface } from "../utils/global";
|
||||
import { CE, createButton, ButtonStyle, Icon } from "../utils/html";
|
||||
import { Toast } from "../utils/toast";
|
||||
import { BxEvent } from "./bx-event";
|
||||
import { BxEvent } from "../utils/bx-event";
|
||||
import { getPref, PrefKey, setPref } from "./preferences";
|
||||
import { t } from "./translation";
|
||||
import { localRedirect } from "./ui/ui";
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { t } from "../translation";
|
||||
import { BxEvent } from "../bx-event";
|
||||
import { BxEvent } from "../../utils/bx-event";
|
||||
import { CE } from "../../utils/html";
|
||||
import { STATES } from "../../utils/global";
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { PrefKey } from "../preferences"
|
||||
import { BxEvent } from "../bx-event"
|
||||
import { BxEvent } from "../../utils/bx-event"
|
||||
import { getPref } from "../preferences"
|
||||
import { StreamBadges } from "./stream-badges"
|
||||
import { CE } from "../../utils/html"
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { STATES } from "../../utils/global";
|
||||
import { Icon } from "../../utils/html";
|
||||
import { BxEvent } from "../bx-event";
|
||||
import { BxEvent } from "../../utils/bx-event";
|
||||
import { PrefKey, getPref } from "../preferences";
|
||||
import { t } from "../translation";
|
||||
import { StreamBadges } from "./stream-badges";
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { NATIVE_FETCH, STATES } from "../utils/global";
|
||||
import { CE } from "../utils/html";
|
||||
import { Toast } from "../utils/toast";
|
||||
import { BxEvent } from "./bx-event";
|
||||
import { BX_FLAGS } from "./bx-flags";
|
||||
import { BxEvent } from "../utils/bx-event";
|
||||
import { BX_FLAGS } from "../utils/bx-flags";
|
||||
import { getPref, PrefKey } from "./preferences";
|
||||
import { t } from "./translation";
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { STATES } from "../../utils/global";
|
||||
import { Icon, CE, createButton, ButtonStyle } from "../../utils/html";
|
||||
import { UserAgent } from "../../utils/user-agent";
|
||||
import { BxEvent } from "../bx-event";
|
||||
import { BxEvent } from "../../utils/bx-event";
|
||||
import { MkbRemapper } from "../mkb/mkb-remapper";
|
||||
import { getPref, PrefKey, toPrefElement } from "../preferences";
|
||||
import { setupScreenshotButton } from "../screenshot";
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { AppInterface } from "../utils/global";
|
||||
import { BxEvent } from "./bx-event";
|
||||
import { BxEvent } from "../utils/bx-event";
|
||||
import { PrefKey, getPref } from "./preferences";
|
||||
|
||||
const VIBRATION_DATA_MAP = {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { AppInterface } from "../utils/global";
|
||||
import { AppInterface } from "./global";
|
||||
|
||||
export enum BxEvent {
|
||||
JUMP_BACK_IN_READY = 'bx-jump-back-in-ready',
|
@ -1,4 +1,4 @@
|
||||
import { STATES } from "../utils/global";
|
||||
import { STATES } from "./global";
|
||||
|
||||
export const BxExposed = {
|
||||
onPollingModeChanged: (mode: 'All' | 'None') => {
|
@ -1,4 +1,4 @@
|
||||
import { BxEvent } from "../modules/bx-event";
|
||||
import { BxEvent } from "./bx-event";
|
||||
import { LoadingScreen } from "../modules/loading-screen";
|
||||
import { RemotePlay } from "../modules/remote-play";
|
||||
import { checkHeader } from "../modules/ui/header";
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { BxEvent } from "../modules/bx-event";
|
||||
import { BxEvent } from "./bx-event";
|
||||
import { getPref, PrefKey } from "../modules/preferences";
|
||||
import { STATES } from "./global";
|
||||
import { UserAgent } from "./user-agent";
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { BxEvent } from "../modules/bx-event";
|
||||
import { BX_FLAGS } from "../modules/bx-flags";
|
||||
import { BxEvent } from "./bx-event";
|
||||
import { BX_FLAGS } from "./bx-flags";
|
||||
import { LoadingScreen } from "../modules/loading-screen";
|
||||
import { PrefKey, getPref } from "../modules/preferences";
|
||||
import { RemotePlay } from "../modules/remote-play";
|
||||
|
Loading…
x
Reference in New Issue
Block a user