#include "ui/events/ozone/evdev/stylus_button_event_converter_evdev.h"
#include <errno.h>
#include <linux/input.h>
#include "base/logging.h"
#include "base/trace_event/trace_event.h"
#include "ui/events/event_utils.h"
#include "ui/events/ozone/evdev/device_event_dispatcher_evdev.h"
namespace ui {
namespace {
const int kKeyReleaseValue = …;
}
StylusButtonEventConverterEvdev::StylusButtonEventConverterEvdev(
base::ScopedFD fd,
base::FilePath path,
int id,
const EventDeviceInfo& devinfo,
DeviceEventDispatcherEvdev* dispatcher)
: … { … }
StylusButtonEventConverterEvdev::~StylusButtonEventConverterEvdev() { … }
void StylusButtonEventConverterEvdev::OnFileCanReadWithoutBlocking(int fd) { … }
void StylusButtonEventConverterEvdev::ProcessEvent(const input_event& input) { … }
std::ostream& StylusButtonEventConverterEvdev::DescribeForLog(
std::ostream& os) const { … }
}