MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / onKeyboardAction

Function onKeyboardAction

apps/web/hooks/priority.ts:10–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8 setPriority(Priority.MOUSE);
9 };
10 const onKeyboardAction = () => {
11 setPriority(Priority.KEYBOARD);
12 };
13 window.addEventListener('keyup', onKeyboardAction);
14 window.addEventListener('keydown', onKeyboardAction);
15 window.addEventListener('mousemove', onMouseAction);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected