Skip to content

web-platform-tests/interop-gamepad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Interop 2025: Gamepad API testing

Work on the Gamepad API testing investigation effort for Interop 2025.

Why an investigation effort?

The goal of an interop focus area is to demonstrate improved interoperability by increasing the pass rates of automated web platform tests on participating browsers. To qualify for an interop focus area, a feature needs good enough test coverage to enable interoperability improvements to be scored using test results.

An investigation effort is a set of tasks that will bring the corresponding feature up to the bar that's required for it to possibly become a focus area in the future.

For context, this investigation effort arose from a rejected focus area proposal. This investigation effort is scoped to only the Gamepad API and is focused on improving test coverage rather than fixing existing tests.

Existing specifications

https://w3c.github.io/gamepad/

Existing tests

https://github.com/web-platform-tests/wpt/tree/master/gamepad

Known problems

Add a means to test the API #175

Most of Gamepad API cannot be tested by automated web platform tests. The API does not expose any information about connected gamepads until a gamepad user gesture is detected, and there is currently no way to simulate this gesture in tests. Once the gesture is detected, tests also need a way to simulate other gamepad interactions (connect, disconnect, buttons, axes, touch, vibration).

Collaborators

WebKit Chromium Gecko Nvidia
@marcoscaceres @nondebug @xingri

About

Gamepad API testing, part of Interop 2025

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published