blob: ac68c6011543091539f434b09d734b4da8cc86ae [file] [log] [blame]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/devices/gamepad_device.h"
namespace ui {
GamepadDevice::GamepadDevice(const InputDevice& input_device,
std::vector<GamepadDevice::Axis>&& axes,
bool supports_rumble)
: InputDevice(input_device),
axes(std::move(axes)),
supports_vibration_rumble(supports_rumble) {}
GamepadDevice::GamepadDevice(const GamepadDevice& other) = default;
GamepadDevice::~GamepadDevice() = default;
} // namespace ui