#include "ui/events/ozone/evdev/input_injector_evdev.h"
#include <utility>
#include "base/logging.h"
#include "ui/events/event.h"
#include "ui/events/event_constants.h"
#include "ui/events/event_modifiers.h"
#include "ui/events/event_utils.h"
#include "ui/events/keycodes/dom/dom_code.h"
#include "ui/events/keycodes/dom/keycode_converter.h"
#include "ui/events/ozone/evdev/cursor_delegate_evdev.h"
#include "ui/events/ozone/evdev/device_event_dispatcher_evdev.h"
#include "ui/events/ozone/evdev/keyboard_evdev.h"
namespace ui {
InputInjectorEvdev::InputInjectorEvdev(
std::unique_ptr<DeviceEventDispatcherEvdev> dispatcher,
CursorDelegateEvdev* cursor)
: … { … }
InputInjectorEvdev::~InputInjectorEvdev() = default;
void InputInjectorEvdev::SetDeviceId(int device_id) { … }
void InputInjectorEvdev::InjectMouseButton(EventFlags button, bool down) { … }
void InputInjectorEvdev::InjectMouseWheel(int delta_x, int delta_y) { … }
void InputInjectorEvdev::MoveCursorTo(const gfx::PointF& location) { … }
void InputInjectorEvdev::InjectKeyEvent(DomCode physical_key,
bool down,
bool suppress_auto_repeat) { … }
}