threepipe
Version:
A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.
12 lines • 542 B
TypeScript
/**
* Shared keyboard handler for transform gizmo controls.
* Handles common shortcuts: Q (space), +/- (size), X/Y/Z (axis), Space (enable).
* Returns true if the key was handled (caller should mark dirty / dispatch change).
*/
export declare function handleGizmoKeyDown(event: KeyboardEvent, callbacks: {
toggleSpace: () => void;
adjustSize: (delta: number) => void;
toggleAxis: (axis: 0 | 1 | 2) => void;
toggleEnabled: () => void;
}): boolean;
//# sourceMappingURL=../../src/three/controls/gizmoKeyboardHandler.d.ts.map