Files
TeaSpeak-Client/modules/renderer/hooks/KeyBoard.ts
T
2021-03-20 16:18:05 +01:00

9 lines
331 B
TypeScript

import * as loader from "tc-loader";
import {setKeyBoardBackend} from "tc-shared/PPTListener";
import {NativeKeyBoard} from "../KeyBoard";
loader.register_task(loader.Stage.JAVASCRIPT_INITIALIZING, {
name: "Native keyboard initialized",
function: async () => setKeyBoardBackend(new NativeKeyBoard()),
priority: 100
});