@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
12 lines (11 loc) • 500 B
TypeScript
import { NamedFunction5 } from './_Base';
export declare enum KeyModifierRequirement {
OPTIONAL = "optional",
PRESSED = "pressed",
NOT_PRESSED = "not pressed"
}
export declare const KEY_MODIFIER_REQUIREMENTS: KeyModifierRequirement[];
export declare class keyboardEventMatchesConfig extends NamedFunction5<[string, number, number, number, number]> {
static type(): string;
func(keyCodes: string, _ctrlKey: number, _shiftKey: number, _altKey: number, _metaKey: number): boolean;
}