mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Implement the Gamepad API with SDL3
This commit is contained in:
parent
50dcd8fc85
commit
74e0483ea5
Notes:
github-actions[bot]
2025-09-01 19:11:57 +00:00
Author: https://github.com/Lubrsi
Commit: 74e0483ea5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5902
Reviewed-by: https://github.com/gmta
Reviewed-by: https://github.com/trflynn89
36 changed files with 1848 additions and 50 deletions
7
Libraries/LibWeb/Gamepad/GamepadButton.idl
Normal file
7
Libraries/LibWeb/Gamepad/GamepadButton.idl
Normal 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;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue