ladybird/Libraries/LibWeb/Internals/InternalGamepad.idl
Luke Wilde 9adf27f009
Some checks failed
CI / macOS, arm64, Sanitizer, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
Build Dev Container Image / build (push) Has been cancelled
LibWeb: Add tests for Gamepad API by utilising virtual SDL3 joysticks
2025-09-01 21:10:47 +02:00

14 lines
422 B
Text

[Exposed=Nobody]
interface InternalGamepad {
readonly attribute sequence<long> buttons;
readonly attribute sequence<long> axes;
readonly attribute sequence<long> triggers;
undefined setButton(long button, boolean down);
undefined setAxis(long axis, short value);
sequence<object> getReceivedRumbleEffects();
sequence<object> getReceivedRumbleTriggerEffects();
undefined disconnect();
};