From 1cce280437e16be1151f54b838390a12b4bf2a25 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 11:28:47 +0000 Subject: [PATCH] Changes Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com> --- src/devkit/MacroDriver.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/devkit/MacroDriver.tsx diff --git a/src/devkit/MacroDriver.tsx b/src/devkit/MacroDriver.tsx new file mode 100644 index 0000000..88505a4 --- /dev/null +++ b/src/devkit/MacroDriver.tsx @@ -0,0 +1,11 @@ +/** + * DEVKIT — Drives macro recording/playback inside the R3F frame loop. + * Mounted inside . No visual output. + */ +import { useFrame } from '@react-three/fiber'; +import { tickMacro } from './macroStore'; + +export function MacroDriver() { + useFrame(() => { tickMacro(); }); + return null; +}