[Update/TMP] tmp

This commit is contained in:
Sakamoto Shiina
2025-01-12 04:46:55 +09:00
parent 9e5af73ccb
commit ff57454073
16 changed files with 308 additions and 35 deletions

View File

@@ -0,0 +1,25 @@
import { useStore_Hotkeys } from "@store";
// import { useStdoutToPython } from "@logics/useStdoutToPython";
export const useHotkeys = () => {
// const { asyncStdoutToPython } = useStdoutToPython();
const { currentHotkeys, updateHotkeys, pendingHotkeys } = useStore_Hotkeys();
const getHotkeys = () => {
// pendingHotkeys();
// asyncStdoutToPython("/get/data/osc_ip_address");
};
const setHotkeys = (hotkeys) => {
updateHotkeys(hotkeys);
// pendingHotkeys();
// asyncStdoutToPython("/set/data/osc_ip_address", osc_ip_address);
};
return {
currentHotkeys,
// getHotkeys,
updateHotkeys,
setHotkeys,
};
};