blob: d88601ff5523431d1d6c3c73928585c26d69cde8 [file] [log] [blame]
// Copyright (c) 2012 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.
namespace blink {
class WebGamepads;
namespace device {
// Returns true if any of the gamepads have a button pressed or axis moved
// that would be considered a user gesture for interaction.
bool GamepadsHaveUserGesture(const blink::WebGamepads& gamepads);
} // namespace device