lingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
6 lines • 456 B
JavaScript
import { keyPressSet } from "../../collections/keyPressSet";
import { onKeyPress } from "../../events/onKeyPress";
import { LingoKeyboardEvent } from "../../interface/IKeyboard";
import eventSystem from "../utils/eventSystem";
export const [addKeyPressSystem, deleteKeyPressSystem] = eventSystem((keyboard) => keyboard.onKeyPress?.(new LingoKeyboardEvent([...keyPressSet].at(-1) ?? "", keyPressSet)), onKeyPress);
//# sourceMappingURL=keyPressSystem.js.map