#include "device/gamepad/xbox_hid_controller.h"
#include "device/gamepad/gamepad_id_list.h"
#include "device/gamepad/hid_writer.h"
namespace device {
namespace {
const uint8_t kRumbleMagnitudeMax = …;
}
XboxHidController::XboxHidController(std::unique_ptr<HidWriter> writer)
: … { … }
XboxHidController::~XboxHidController() = default;
bool XboxHidController::IsXboxHid(GamepadId gamepad_id) { … }
void XboxHidController::DoShutdown() { … }
void XboxHidController::SetVibration(mojom::GamepadEffectParametersPtr params) { … }
base::WeakPtr<AbstractHapticGamepad> XboxHidController::GetWeakPtr() { … }
}