mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-07 21:58:27 +02:00
Simplify import paths
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { GamepadKeyNameType } from "../../types/mkb";
|
||||
import type { GamepadKeyNameType } from "@/types/mkb";
|
||||
|
||||
export enum GamepadKey {
|
||||
A = 0,
|
||||
|
@@ -1,17 +1,17 @@
|
||||
import { MkbPreset } from "./mkb-preset";
|
||||
import { GamepadKey, MkbPresetKey, GamepadStick, MouseMapTo } from "./definitions";
|
||||
import { createButton, Icon, ButtonStyle, CE } from "../../utils/html";
|
||||
import { BxEvent } from "../../utils/bx-event";
|
||||
import { PrefKey, getPref } from "../../utils/preferences";
|
||||
import { Toast } from "../../utils/toast";
|
||||
import { t } from "../../utils/translation";
|
||||
import { LocalDb } from "../../utils/local-db";
|
||||
import { createButton, Icon, ButtonStyle, CE } from "@/utils/html";
|
||||
import { BxEvent } from "@/utils/bx-event";
|
||||
import { PrefKey, getPref } from "@/utils/preferences";
|
||||
import { Toast } from "@/utils/toast";
|
||||
import { t } from "@/utils/translation";
|
||||
import { LocalDb } from "@/utils/local-db";
|
||||
import { KeyHelper } from "./key-helper";
|
||||
import type { MkbStoredPreset } from "../../types/mkb";
|
||||
import { showStreamSettings } from "../stream/stream-ui";
|
||||
import { STATES } from "../../utils/global";
|
||||
import { UserAgent } from "../../utils/user-agent";
|
||||
import { BxLogger } from "../../utils/bx-logger";
|
||||
import type { MkbStoredPreset } from "@/types/mkb";
|
||||
import { showStreamSettings } from "@/modules/stream/stream-ui";
|
||||
import { STATES } from "@/utils/global";
|
||||
import { UserAgent } from "@/utils/user-agent";
|
||||
import { BxLogger } from "@/utils/bx-logger";
|
||||
|
||||
const LOG_TAG = 'MkbHandler';
|
||||
|
||||
|
@@ -1,9 +1,9 @@
|
||||
import { t } from "../../utils/translation";
|
||||
import { SettingElementType } from "../../utils/settings";
|
||||
import { t } from "@/utils/translation";
|
||||
import { SettingElementType } from "@/utils/settings";
|
||||
import { GamepadKey, MouseButtonCode, MouseMapTo, MkbPresetKey } from "./definitions";
|
||||
import { MkbHandler } from "./mkb-handler";
|
||||
import type { MkbPresetData, MkbConvertedPresetData } from "../../types/mkb";
|
||||
import type { PreferenceSettings } from "../../types/preferences";
|
||||
import type { MkbPresetData, MkbConvertedPresetData } from "@/types/mkb";
|
||||
import type { PreferenceSettings } from "@/types/preferences";
|
||||
|
||||
|
||||
export class MkbPreset {
|
||||
|
@@ -1,16 +1,16 @@
|
||||
import { GamepadKey } from "./definitions";
|
||||
import { CE, createButton, ButtonStyle } from "../../utils/html";
|
||||
import { t } from "../../utils/translation";
|
||||
import { Dialog } from "../dialog";
|
||||
import { getPref, setPref, PrefKey } from "../../utils/preferences";
|
||||
import { CE, createButton, ButtonStyle } from "@/utils/html";
|
||||
import { t } from "@/utils/translation";
|
||||
import { Dialog } from "@/modules/dialog";
|
||||
import { getPref, setPref, PrefKey } from "@/utils/preferences";
|
||||
import { MkbPresetKey, GamepadKeyName } from "./definitions";
|
||||
import { KeyHelper } from "./key-helper";
|
||||
import { MkbPreset } from "./mkb-preset";
|
||||
import { MkbHandler } from "./mkb-handler";
|
||||
import { LocalDb } from "../../utils/local-db";
|
||||
import { Icon } from "../../utils/html";
|
||||
import { SettingElement } from "../../utils/settings";
|
||||
import type { MkbPresetData, MkbStoredPresets } from "../../types/mkb";
|
||||
import { LocalDb } from "@/utils/local-db";
|
||||
import { Icon } from "@/utils/html";
|
||||
import { SettingElement } from "@/utils/settings";
|
||||
import type { MkbPresetData, MkbStoredPresets } from "@/types/mkb";
|
||||
|
||||
|
||||
type MkbRemapperElements = {
|
||||
|
Reference in New Issue
Block a user