chromium/device/gamepad/public/cpp/gamepad_features.cc

// 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.

#include "device/gamepad/public/cpp/gamepad_features.h"

#include <algorithm>

#include "base/command_line.h"
#include "base/feature_list.h"
#include "base/metrics/field_trial_params.h"
#include "base/strings/string_number_conversions.h"
#include "device/gamepad/public/cpp/gamepad_switches.h"

namespace features {

// Enables gamepadbuttondown, gamepadbuttonup, gamepadbuttonchange,
// gamepadaxismove non-standard gamepad events.
BASE_FEATURE();

// Enables the Windows.Gaming.Input data fetcher.
BASE_FEATURE();

BASE_FEATURE();

// Enables gamepad multitouch
BASE_FEATURE();

#if BUILDFLAG(IS_ANDROID)
// Enables gamepad vibration on Android 12+.
BASE_FEATURE(kEnableAndroidGamepadVibration,
             "EnableAndroidGamepadVibration",
             base::FEATURE_ENABLED_BY_DEFAULT);
#endif  // BUILDFLAG(IS_ANDROID)

bool AreGamepadButtonAxisEventsEnabled() {}

bool IsGamepadMultitouchEnabled() {}

}  // namespace features