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