From 9835e2ae736235810b4ea1c162ca5e65c547e770 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 18 May 2024 04:49:50 +0200 Subject: Merging upstream version 1.71.1+dfsg1. Signed-off-by: Daniel Baumann --- .../web-sys/webidls/enabled/GamepadButtonEvent.webidl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 vendor/web-sys/webidls/enabled/GamepadButtonEvent.webidl (limited to 'vendor/web-sys/webidls/enabled/GamepadButtonEvent.webidl') diff --git a/vendor/web-sys/webidls/enabled/GamepadButtonEvent.webidl b/vendor/web-sys/webidls/enabled/GamepadButtonEvent.webidl new file mode 100644 index 000000000..b8a9e086b --- /dev/null +++ b/vendor/web-sys/webidls/enabled/GamepadButtonEvent.webidl @@ -0,0 +1,17 @@ +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +[Pref="dom.gamepad.non_standard_events.enabled", + Constructor(DOMString type, optional GamepadButtonEventInit eventInitDict)] +interface GamepadButtonEvent : GamepadEvent +{ + readonly attribute unsigned long button; +}; + +dictionary GamepadButtonEventInit : GamepadEventInit +{ + unsigned long button = 0; +}; -- cgit v1.2.3