#include "ui/events/ozone/evdev/mouse_button_map_evdev.h"
#include <linux/input.h>
#include "base/feature_list.h"
#include "base/logging.h"
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "ash/constants/ash_features.h"
#endif
namespace ui {
namespace {
constexpr int kSharedDeviceSettingsId = …;
bool ShouldEnablePerDeviceSettings() { … }
}
MouseButtonMapEvdev::MouseButtonMapEvdev()
: … { … }
MouseButtonMapEvdev::~MouseButtonMapEvdev() { … }
void MouseButtonMapEvdev::SetPrimaryButtonRight(std::optional<int> device_id,
bool primary_button_right) { … }
int MouseButtonMapEvdev::GetMappedButton(int device_id, uint16_t button) const { … }
void MouseButtonMapEvdev::RemoveDeviceFromSettings(int device_id) { … }
}