mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Add tests for Gamepad API by utilising virtual SDL3 joysticks
This commit is contained in:
parent
74e0483ea5
commit
9adf27f009
Notes:
github-actions[bot]
2025-09-01 19:11:51 +00:00
Author: https://github.com/Lubrsi
Commit: 9adf27f009
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5902
Reviewed-by: https://github.com/gmta
Reviewed-by: https://github.com/trflynn89
28 changed files with 897 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#import <DOM/EventTarget.idl>
|
||||
#import <HTML/HTMLElement.idl>
|
||||
#import <Internals/InternalAnimationTimeline.idl>
|
||||
#import <Internals/InternalGamepad.idl>
|
||||
|
||||
[Exposed=Nobody]
|
||||
interface Internals {
|
||||
|
|
@ -58,4 +59,8 @@ interface Internals {
|
|||
// Returns the shadow root of the element, if it has one, even if it's not normally accessible to JS.
|
||||
ShadowRoot? getShadowRoot(Element element);
|
||||
|
||||
undefined handleSDLInputEvents();
|
||||
|
||||
InternalGamepad connectVirtualGamepad();
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue