diff --git a/src/simulator/src/hotkey_binder/model/shortcuts.plugin.ts b/src/simulator/src/hotkey_binder/model/shortcuts.plugin.ts index 7acd0311..5c977702 100644 --- a/src/simulator/src/hotkey_binder/model/shortcuts.plugin.ts +++ b/src/simulator/src/hotkey_binder/model/shortcuts.plugin.ts @@ -1,21 +1,7 @@ -interface ShortcutOptions { - type?: string - propagate?: boolean - disable_in_input?: boolean - target?: Document | string - keycode?: number | false -} - -interface ShortcutBinding { - callback: EventListener - target: Document | HTMLElement - event: string -} - -interface ModifierState { - wanted: boolean - pressed: boolean -} +import { ShortcutOptions } from './modelInterfaces' +import { ShortcutBinding } from './modelInterfaces' +import { ModifierState } from './modelInterfaces'; + export const shortcut = { all_shortcuts: {} as Record,