Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions features/gamepad-haptics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ compat_features:
- api.GamepadHapticActuator.playEffect.params_rightTrigger_parameter
- api.GamepadHapticActuator.playEffect.type_trigger-rumble
- api.GamepadHapticActuator.reset
- api.GamepadHapticActuator.secure_context_required
6 changes: 6 additions & 0 deletions features/gamepad-haptics.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,9 @@ compat_features:
# firefox_android: "55"
- api.Gamepad.hapticActuators
- api.GamepadHapticActuator.pulse

# baseline: false
# support:
# firefox: "91"
# firefox_android: "91"
- api.GamepadHapticActuator.secure_context_required
5 changes: 5 additions & 0 deletions features/gamepad-vr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Gamepad VR hands and poses
description: The `hand` and `pose` properties of a `Gamepad` object represent the position in space and the hand that WebVR controllers are held in.
spec: https://w3c.github.io/gamepad/extensions.html
group: gamepad
status:
compute_from:
- api.Gamepad.hand
- api.Gamepad.pose
compat_features:
- api.Gamepad.hand
- api.Gamepad.pose
Expand All @@ -14,3 +18,4 @@ compat_features:
- api.GamepadPose.linearVelocity
- api.GamepadPose.orientation
- api.GamepadPose.position
- api.GamepadPose.secure_context_required
11 changes: 11 additions & 0 deletions features/gamepad-vr.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ status:
firefox: "55"
firefox_android: "55"
compat_features:
# ⬇️ Same status as overall feature ⬇️
# baseline: false
# support:
# firefox: "55"
# firefox_android: "55"
- api.Gamepad.hand
- api.Gamepad.pose
- api.GamepadPose
Expand All @@ -18,3 +23,9 @@ compat_features:
- api.GamepadPose.linearVelocity
- api.GamepadPose.orientation
- api.GamepadPose.position

# baseline: false
# support:
# firefox: "91"
# firefox_android: "91"
- api.GamepadPose.secure_context_required
7 changes: 6 additions & 1 deletion features/gamepad.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ spec: https://w3c.github.io/gamepad/
caniuse: gamepad
group: gamepad
status:
compute_from: api.Gamepad
compute_from: api.Navigator.getGamepads
compat_features:
- api.Gamepad
- api.Gamepad.axes
Expand All @@ -13,13 +13,18 @@ compat_features:
- api.Gamepad.id
- api.Gamepad.index
- api.Gamepad.mapping
- api.Gamepad.secure_context_required
- api.Gamepad.timestamp
- api.GamepadButton
- api.GamepadButton.pressed
- api.GamepadButton.secure_context_required
- api.GamepadButton.value
- api.Navigator.getGamepads
- api.Navigator.getGamepads.secure_context_required
- api.GamepadEvent
- api.GamepadEvent.GamepadEvent
- api.GamepadEvent.gamepad
- api.GamepadEvent.secure_context_required
- api.Window.gamepadconnected_event
- api.Window.gamepaddisconnected_event
- html.elements.iframe.allow.gamepad
23 changes: 20 additions & 3 deletions features/gamepad.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ status:
baseline_low_date: 2017-03-27
baseline_high_date: 2019-09-27
support:
chrome: "21"
chrome_android: "25"
chrome: "35"
chrome_android: "35"
edge: "12"
firefox: "29"
firefox_android: "32"
safari: "10.1"
safari_ios: "10.3"
compat_features:
# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2017-03-27
# baseline_high_date: 2019-09-27
Expand Down Expand Up @@ -52,6 +51,7 @@ compat_features:
# safari_ios: "10.3"
- api.Gamepad.connected

# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2017-03-27
# baseline_high_date: 2019-09-27
Expand All @@ -74,3 +74,20 @@ compat_features:
# safari_ios: "16"
- api.Window.gamepadconnected_event
- api.Window.gamepaddisconnected_event

# baseline: false
# support:
# firefox: "91"
# firefox_android: "91"
- api.Gamepad.secure_context_required
- api.GamepadButton.secure_context_required
- api.GamepadEvent.secure_context_required

# baseline: false
# support:
# firefox: "91"
- api.Navigator.getGamepads.secure_context_required

# baseline: false
# support: {}
- html.elements.iframe.allow.gamepad
Loading