blob: 21ac8cf4c1a40544b219aa2c189586af6a764497 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Non-standard gamepad button event.
Constructor(DOMString type, optional GamepadButtonEventInit eventInitDict)
] interface GamepadButtonEvent : GamepadEvent {
[ImplementedAs=getButton] readonly attribute unsigned long button;
[ImplementedAs=getValue] readonly attribute double value;