| Index: ui/events/ozone/evdev/event_converter_evdev_impl.h
|
| diff --git a/ui/events/ozone/evdev/event_converter_evdev_impl.h b/ui/events/ozone/evdev/event_converter_evdev_impl.h
|
| index 29e0f6d22e170c559a6d7ea098a77e683ffb8055..c7e66fe983b384cf62855599cc72effeed388675 100644
|
| --- a/ui/events/ozone/evdev/event_converter_evdev_impl.h
|
| +++ b/ui/events/ozone/evdev/event_converter_evdev_impl.h
|
| @@ -11,6 +11,7 @@
|
| #include "ui/events/event.h"
|
| #include "ui/events/ozone/evdev/cursor_delegate_evdev.h"
|
| #include "ui/events/ozone/evdev/event_converter_evdev.h"
|
| +#include "ui/events/ozone/evdev/event_device_info.h"
|
| #include "ui/events/ozone/evdev/event_modifiers_evdev.h"
|
| #include "ui/events/ozone/evdev/events_ozone_evdev_export.h"
|
| #include "ui/events/ozone/evdev/keyboard_evdev.h"
|
| @@ -27,6 +28,7 @@ class EVENTS_OZONE_EVDEV_EXPORT EventConverterEvdevImpl
|
| base::FilePath path,
|
| int id,
|
| InputDeviceType type,
|
| + const EventDeviceInfo& info,
|
| EventModifiersEvdev* modifiers,
|
| MouseButtonMapEvdev* button_map,
|
| CursorDelegateEvdev* cursor,
|
| @@ -36,6 +38,7 @@ class EVENTS_OZONE_EVDEV_EXPORT EventConverterEvdevImpl
|
|
|
| // EventConverterEvdev:
|
| void OnFileCanReadWithoutBlocking(int fd) override;
|
| + bool HasKeyboard() const override;
|
|
|
| void ProcessEvents(const struct input_event* inputs, int count);
|
|
|
| @@ -50,6 +53,9 @@ class EVENTS_OZONE_EVDEV_EXPORT EventConverterEvdevImpl
|
| // non-axis-aligned movement properly.
|
| void FlushEvents();
|
|
|
| + // Input modalities for this device.
|
| + bool has_keyboard_;
|
| +
|
| // Save x-axis events of relative devices to be flushed at EV_SYN time.
|
| int x_offset_;
|
|
|
|
|