Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The KeyboardLayoutMap
interface of the Keyboard API is a map-like object with functions for retrieving the string associated with specific physical keys.
A list of valid keys is found in the UI Events KeyboardEvent code Values specification.