TanStack
Normalization & format API Reference

PhysicalKey

ts
type PhysicalKey = `[${PhysicalKeyCode}]`;

Defined in: key.types.ts:244

An explicit physical key token. All codes use brackets, including names such as [Enter] that also exist as logical keys. Invalid code names are rejected by TypeScript, and supported names are available in autocomplete.