blob: 6d8189521b2331b65fce9d687b3824d1a10410d6 [file] [log] [blame]
// Copyright 2017 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.
// Gamepad vibration is proposed as an extension to the Gamepad API.
// https://docs.google.com/document/d/1jPKzVRNzzU4dUsvLpSXm1VXPQZ8FP-0lKMT-R_p-s6g
// TODO(mattreynolds): Replace this with a link to w3c.github.io/gamepad
dictionary GamepadEffectParameters {
double duration = 0.0;
double startDelay = 0.0;
double strongMagnitude = 0.0;
double weakMagnitude = 0.0;
};