From 30f1116c09fd282ad79800dabeb9f4fee8b173e5 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Tue, 12 May 2026 12:06:48 +0000 Subject: [PATCH] Changes Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com> --- src/devkit/FakeControllers.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/devkit/FakeControllers.tsx b/src/devkit/FakeControllers.tsx index 00aca17..aca4fbb 100644 --- a/src/devkit/FakeControllers.tsx +++ b/src/devkit/FakeControllers.tsx @@ -72,6 +72,12 @@ export function FakeControllers() { fakeInput.right.gripWorld.makeTranslation(0.25, 1.2, -0.5); force((n) => n + 1); return; + } else if (k === 'l' || k === 'L') { + const s = useModelStore.getState(); + const next = !s.isLocked; + s.setLocked(next); + console.log(`[lock] ${next ? 'ON' : 'OFF'} (keyboard)`); + return; } apply(); };