[Update] Config Page: VR Tab. Add button that send sample texts to Overlay. per 1 sec for now.

This commit is contained in:
Sakamoto Shiina committed 2024-12-18 16:31:10 +09:00
1 parent 8629d9aa4a
commit 8cc66ca0cc
8 files changed
+150 -17

No files matched your search

@@ -0,0 +1,13 @@
import { useStdoutToPython } from "@logics/useStdoutToPython";
export const useSendTextToOverlay = () => {
const { asyncStdoutToPython } = useStdoutToPython();
const sendTextToOverlay = (text) => {
asyncStdoutToPython("/run/send_text_overlay_small_log", text);
};
return {
sendTextToOverlay,
};
};