mylingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
12 lines (11 loc) • 575 B
TypeScript
import IEventLoop from "./IEventLoop";
import Defaults from "./utils/Defaults";
import { ExtractProps } from "./utils/extractProps";
import Nullable from "./utils/Nullable";
export default interface IKeyboard extends IEventLoop {
onKeyPress: Nullable<(key: string, keys: Set<string>) => void>;
onKeyUp: Nullable<(key: string, keys: Set<string>) => void>;
onKeyDown: Nullable<(key: string, keys: Set<string>) => void>;
}
export declare const keyboardSchema: Required<ExtractProps<IKeyboard>>;
export declare const keyboardDefaults: Defaults<IKeyboard>;