Skip to content

Commit ffac4d1

Browse files
Update draft features (#2462)
1 parent 94790cd commit ffac4d1

14 files changed

+376
-776
lines changed
Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
1-
draft_date: 2024-10-21
1+
draft_date: 2024-12-18
22
name: Gamepad Extensions
33
description: TODO
44
spec: https://w3c.github.io/gamepad/extensions.html
55
compat_features:
6-
- api.Gamepad
7-
- api.Gamepad.hand
8-
- api.Gamepad.hapticActuators
9-
- api.Gamepad.pose
106
- api.Gamepad.secure_context_required
11-
- api.GamepadHapticActuator.pulse
12-
- api.GamepadPose
13-
- api.GamepadPose.angularAcceleration
14-
- api.GamepadPose.angularVelocity
15-
- api.GamepadPose.hasOrientation
16-
- api.GamepadPose.hasPosition
17-
- api.GamepadPose.linearAcceleration
18-
- api.GamepadPose.linearVelocity
19-
- api.GamepadPose.orientation
20-
- api.GamepadPose.position
217
- api.GamepadPose.secure_context_required
8+
9+
# The following features in the spec are already part of web-features:
10+
# - Gamepad:
11+
# - api.Gamepad
12+
# - Gamepad VR hands and poses:
13+
# - api.Gamepad.hand
14+
# - api.Gamepad.pose
15+
# - api.GamepadPose
16+
# - api.GamepadPose.angularAcceleration
17+
# - api.GamepadPose.angularVelocity
18+
# - api.GamepadPose.hasOrientation
19+
# - api.GamepadPose.hasPosition
20+
# - api.GamepadPose.linearAcceleration
21+
# - api.GamepadPose.linearVelocity
22+
# - api.GamepadPose.orientation
23+
# - api.GamepadPose.position
24+
# - Gamepad haptic feedback:
25+
# - api.Gamepad.hapticActuators
26+
# - api.GamepadHapticActuator.pulse

features/draft/spec/gamepad-extensions.yml.dist

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -7,41 +7,5 @@ status:
77
firefox: "91"
88
firefox_android: "91"
99
compat_features:
10-
# baseline: high
11-
# baseline_low_date: 2017-03-27
12-
# baseline_high_date: 2019-09-27
13-
# support:
14-
# chrome: "21"
15-
# chrome_android: "25"
16-
# edge: "12"
17-
# firefox: "29"
18-
# firefox_android: "32"
19-
# safari: "10.1"
20-
# safari_ios: "10.3"
21-
- api.Gamepad
22-
23-
# baseline: false
24-
# support:
25-
# firefox: "55"
26-
# firefox_android: "55"
27-
- api.Gamepad.hand
28-
- api.Gamepad.hapticActuators
29-
- api.Gamepad.pose
30-
- api.GamepadHapticActuator.pulse
31-
- api.GamepadPose
32-
- api.GamepadPose.angularAcceleration
33-
- api.GamepadPose.angularVelocity
34-
- api.GamepadPose.hasOrientation
35-
- api.GamepadPose.hasPosition
36-
- api.GamepadPose.linearAcceleration
37-
- api.GamepadPose.linearVelocity
38-
- api.GamepadPose.orientation
39-
- api.GamepadPose.position
40-
41-
# ⬇️ Same status as overall feature ⬇️
42-
# baseline: false
43-
# support:
44-
# firefox: "91"
45-
# firefox_android: "91"
4610
- api.Gamepad.secure_context_required
4711
- api.GamepadPose.secure_context_required

features/draft/spec/gamepad.yml

Lines changed: 33 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,43 @@
1-
draft_date: 2024-10-28
1+
draft_date: 2024-12-18
22
name: Gamepad
33
description: TODO
44
spec: https://w3c.github.io/gamepad/
55
compat_features:
6-
- api.Gamepad
7-
- api.Gamepad.axes
8-
- api.Gamepad.buttons
9-
- api.Gamepad.connected
10-
- api.Gamepad.id
11-
- api.Gamepad.index
12-
- api.Gamepad.mapping
136
- api.Gamepad.secure_context_required
14-
- api.Gamepad.timestamp
15-
- api.Gamepad.vibrationActuator
16-
- api.GamepadButton
17-
- api.GamepadButton.pressed
187
- api.GamepadButton.secure_context_required
19-
- api.GamepadButton.touched
20-
- api.GamepadButton.value
21-
- api.GamepadEvent
22-
- api.GamepadEvent.GamepadEvent
23-
- api.GamepadEvent.gamepad
248
- api.GamepadEvent.secure_context_required
25-
- api.GamepadHapticActuator
26-
- api.GamepadHapticActuator.effects
27-
- api.GamepadHapticActuator.effects.type_trigger-rumble
28-
- api.GamepadHapticActuator.playEffect
29-
- api.GamepadHapticActuator.playEffect.params_leftTrigger_parameter
30-
- api.GamepadHapticActuator.playEffect.params_rightTrigger_parameter
31-
- api.GamepadHapticActuator.playEffect.type_trigger-rumble
32-
- api.GamepadHapticActuator.reset
339
- api.GamepadHapticActuator.secure_context_required
34-
- api.Navigator.getGamepads
3510
- api.Navigator.getGamepads.secure_context_required
36-
- api.Window.gamepadconnected_event
37-
- api.Window.gamepaddisconnected_event
3811
- html.elements.iframe.allow.gamepad
12+
13+
# The following features in the spec are already part of web-features:
14+
# - Gamepad:
15+
# - api.Gamepad
16+
# - api.Gamepad.axes
17+
# - api.Gamepad.buttons
18+
# - api.Gamepad.connected
19+
# - api.Gamepad.id
20+
# - api.Gamepad.index
21+
# - api.Gamepad.mapping
22+
# - api.Gamepad.timestamp
23+
# - api.GamepadButton
24+
# - api.GamepadButton.pressed
25+
# - api.GamepadButton.value
26+
# - api.GamepadEvent
27+
# - api.GamepadEvent.GamepadEvent
28+
# - api.GamepadEvent.gamepad
29+
# - api.Navigator.getGamepads
30+
# - api.Window.gamepadconnected_event
31+
# - api.Window.gamepaddisconnected_event
32+
# - Gamepad haptic feedback:
33+
# - api.Gamepad.vibrationActuator
34+
# - api.GamepadHapticActuator
35+
# - api.GamepadHapticActuator.effects
36+
# - api.GamepadHapticActuator.effects.type_trigger-rumble
37+
# - api.GamepadHapticActuator.playEffect
38+
# - api.GamepadHapticActuator.playEffect.params_leftTrigger_parameter
39+
# - api.GamepadHapticActuator.playEffect.params_rightTrigger_parameter
40+
# - api.GamepadHapticActuator.playEffect.type_trigger-rumble
41+
# - api.GamepadHapticActuator.reset
42+
# - Gamepad touch buttons:
43+
# - api.GamepadButton.touched

features/draft/spec/gamepad.yml.dist

Lines changed: 0 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -5,113 +5,6 @@ status:
55
baseline: false
66
support: {}
77
compat_features:
8-
# baseline: high
9-
# baseline_low_date: 2017-03-27
10-
# baseline_high_date: 2019-09-27
11-
# support:
12-
# chrome: "21"
13-
# chrome_android: "25"
14-
# edge: "12"
15-
# firefox: "29"
16-
# firefox_android: "32"
17-
# safari: "10.1"
18-
# safari_ios: "10.3"
19-
- api.Gamepad
20-
- api.Gamepad.axes
21-
- api.Gamepad.buttons
22-
- api.Gamepad.id
23-
- api.Gamepad.index
24-
- api.Gamepad.mapping
25-
- api.Gamepad.timestamp
26-
- api.GamepadButton
27-
- api.GamepadButton.pressed
28-
- api.GamepadButton.value
29-
- api.GamepadEvent
30-
- api.GamepadEvent.gamepad
31-
32-
# baseline: high
33-
# baseline_low_date: 2017-03-27
34-
# baseline_high_date: 2019-09-27
35-
# support:
36-
# chrome: "25"
37-
# chrome_android: "25"
38-
# edge: "12"
39-
# firefox: "29"
40-
# firefox_android: "32"
41-
# safari: "10.1"
42-
# safari_ios: "10.3"
43-
- api.Gamepad.connected
44-
45-
# baseline: high
46-
# baseline_low_date: 2017-03-27
47-
# baseline_high_date: 2019-09-27
48-
# support:
49-
# chrome: "35"
50-
# chrome_android: "35"
51-
# edge: "12"
52-
# firefox: "29"
53-
# firefox_android: "32"
54-
# safari: "10.1"
55-
# safari_ios: "10.3"
56-
- api.GamepadEvent.GamepadEvent
57-
- api.Navigator.getGamepads
58-
59-
# baseline: false
60-
# support:
61-
# chrome: "68"
62-
# chrome_android: "68"
63-
# edge: "15"
64-
# firefox: "55"
65-
# firefox_android: "55"
66-
# safari: "16.4"
67-
- api.GamepadHapticActuator
68-
69-
# baseline: false
70-
# support:
71-
# chrome: "73"
72-
# chrome_android: "73"
73-
# edge: "15"
74-
# firefox: "55"
75-
# firefox_android: "55"
76-
- api.GamepadButton.touched
77-
78-
# baseline: false
79-
# support:
80-
# chrome: "68"
81-
# chrome_android: "68"
82-
# edge: "15"
83-
# safari: "16.4"
84-
- api.GamepadHapticActuator.playEffect
85-
- api.GamepadHapticActuator.reset
86-
87-
# baseline: false
88-
# support:
89-
# chrome: "68"
90-
# chrome_android: "68"
91-
# edge: "79"
92-
# safari: "16.4"
93-
- api.Gamepad.vibrationActuator
94-
95-
# baseline: false
96-
# support:
97-
# firefox: "89"
98-
# firefox_android: "89"
99-
# safari: "16"
100-
# safari_ios: "16"
101-
- api.Window.gamepadconnected_event
102-
- api.Window.gamepaddisconnected_event
103-
104-
# baseline: false
105-
# support:
106-
# chrome: "126"
107-
# chrome_android: "126"
108-
# edge: "126"
109-
- api.GamepadHapticActuator.effects
110-
- api.GamepadHapticActuator.effects.type_trigger-rumble
111-
- api.GamepadHapticActuator.playEffect.params_leftTrigger_parameter
112-
- api.GamepadHapticActuator.playEffect.params_rightTrigger_parameter
113-
- api.GamepadHapticActuator.playEffect.type_trigger-rumble
114-
1158
# baseline: false
1169
# support:
11710
# firefox: "91"

0 commit comments

Comments
 (0)