blob: 044b4b8e73e73589dbfe5f4d9983224c0b4b3949 [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 axis event.
// https://docs.google.com/document/d/1rnQ1gU0iwPXbO7OvKS6KO9gyfpSdSQvKhK9_OkzUuKE
[
RuntimeEnabled=GamepadButtonAxisEvents,
Constructor(DOMString type, optional GamepadAxisEventInit eventInitDict)
] interface GamepadAxisEvent : GamepadEvent {
[ImplementedAs=getAxis] readonly attribute unsigned long axis;
[ImplementedAs=getValue] readonly attribute double value;
};