LibWeb: Implement the Gamepad API with SDL3

This commit is contained in:
Luke Wilde 2025-08-18 17:27:00 +01:00 committed by Andreas Kling
parent 50dcd8fc85
commit 74e0483ea5
Notes: github-actions[bot] 2025-09-01 19:11:57 +00:00
36 changed files with 1848 additions and 50 deletions

View file

@ -0,0 +1,7 @@
// https://w3c.github.io/gamepad/#dom-gamepadbutton
[Exposed=Window]
interface GamepadButton {
readonly attribute boolean pressed;
readonly attribute boolean touched;
readonly attribute double value;
};