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