Skip to content

Commit 3c52db0

Browse files
tropicadrifoolip
andauthored
Adding Keyboard interface feature (#1386)
Co-authored-by: Philip Jägenstedt <[email protected]>
1 parent 383f89f commit 3c52db0

File tree

5 files changed

+26
-9
lines changed

5 files changed

+26
-9
lines changed

features/draft/spec/keyboard-lock.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

features/keyboard-lock.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: Keyboard lock
2+
description: The `navigator.keyboard.lock()` API allows you to capture keys that are normally reserved by the operating system. It can be used to provide an immersive fullscreen experience such as games.
3+
spec: https://wicg.github.io/keyboard-lock/
4+
compat_features:
5+
- api.Keyboard
6+
- api.Keyboard.lock
7+
- api.Keyboard.unlock
8+
- api.Navigator.keyboard

features/keyboard-map.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: Keyboard map
2+
description: 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.
3+
spec: https://wicg.github.io/keyboard-map/
4+
compat_features:
5+
- api.Keyboard.getLayoutMap
6+
- api.KeyboardLayoutMap

features/keyboard-map.yml.dist

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Generated from: keyboard-map.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support:
7+
chrome: "69"
8+
chrome_android: "69"
9+
edge: "79"
10+
compat_features:
11+
- api.Keyboard.getLayoutMap
12+
- api.KeyboardLayoutMap

0 commit comments

Comments
 (0)