chromium/third_party/blink/renderer/modules/gamepad/gamepad_axis_event.idl

// Copyright 2018 The Chromium Authors
// 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

[
    Exposed=Window,
    RuntimeEnabled=GamepadButtonAxisEvents
] interface GamepadAxisEvent : GamepadEvent {
    constructor(DOMString type, optional GamepadAxisEventInit eventInitDict = {});
    [ImplementedAs=getAxis] readonly attribute unsigned long axis;
    [ImplementedAs=getValue] readonly attribute double value;
};