Limited other

Keyboard map

The navigator.keyboard.getLayoutMap() API returns a map from key codes to human readable key names. It can be used to describe buttons to the user when using the keyboard as a set of buttons, such as in games.

Baseline Status
Limited
Missing ≥1 target
First Core Launch
Chrome 69
2018-09-04
Core-3 Stability
Limbo (3,005d (8.2y))
Missing: firefox, safari
BCD Keys Mapped
10
Group: other

Browser Support Timeline

Chrome v69 (2018-09-04) Chrome Android v69 (2018-09-04) Edge v79 (2020-01-15)
Green dot marks the first browser release (2018-09-04); blue dots show subsequent browser launches (+498d total span).

Browser Support Releases

BrowserTypeVersionRelease Date
Chrome desktop 69 2018-09-04
Chrome Android mobile 69 2018-09-04
Edge desktop 79 2020-01-15

Constituent MDN BCD Keys (Sample)

BCD KeyAreaCore-3 TTA
api.Keyboard.getLayoutMap DOM API 3,005d (8.2y) limbo
api.KeyboardLayoutMap DOM API 3,005d (8.2y) limbo
api.KeyboardLayoutMap.@@iterator DOM API 3,005d (8.2y) limbo
api.KeyboardLayoutMap.entries DOM API 3,005d (8.2y) limbo
api.KeyboardLayoutMap.forEach DOM API 3,005d (8.2y) limbo
api.KeyboardLayoutMap.get DOM API 3,005d (8.2y) limbo
api.KeyboardLayoutMap.has DOM API 3,005d (8.2y) limbo
api.KeyboardLayoutMap.keys DOM API 3,005d (8.2y) limbo
api.KeyboardLayoutMap.size DOM API 3,005d (8.2y) limbo
api.KeyboardLayoutMap.values DOM API 3,005d (8.2y) limbo