MCPcopy Create free account
hub / github.com/TanStack/hotkeys / createHeldKeyCodes

Function createHeldKeyCodes

packages/solid-hotkeys/src/createHeldKeyCodes.ts:35–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 * ```
34 */
35export function createHeldKeyCodes(): () => Record<string, string> {
36 const tracker = getKeyStateTracker()
37 return useSelector(tracker.store, (state) => state.heldCodes)
38}

Callers 1

AppFunction · 0.90

Calls 1

getKeyStateTrackerFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…