| Index: ui/events/ozone/evdev/event_converter_evdev.h
|
| diff --git a/ui/events/ozone/evdev/event_converter_evdev.h b/ui/events/ozone/evdev/event_converter_evdev.h
|
| index eaa4059274ae60fbf34d93685bc559fb9003d7aa..4972c4de8e972facd838a167617d194411e5497a 100644
|
| --- a/ui/events/ozone/evdev/event_converter_evdev.h
|
| +++ b/ui/events/ozone/evdev/event_converter_evdev.h
|
| @@ -29,11 +29,13 @@ class EVENTS_OZONE_EVDEV_EXPORT EventConverterEvdev
|
| InputDeviceType type);
|
| ~EventConverterEvdev() override;
|
|
|
| - int id() const { return id_; }
|
| + int id() const { return input_device_.id; }
|
|
|
| const base::FilePath& path() const { return path_; }
|
|
|
| - InputDeviceType type() const { return type_; }
|
| + InputDeviceType type() const { return input_device_.type; }
|
| +
|
| + const InputDevice& input_device() const { return input_device_; }
|
|
|
| void set_ignore_events(bool ignore_events) { ignore_events_ = ignore_events; }
|
|
|
| @@ -91,11 +93,9 @@ class EVENTS_OZONE_EVDEV_EXPORT EventConverterEvdev
|
| // Path to input device.
|
| base::FilePath path_;
|
|
|
| - // Uniquely identifies an event converter.
|
| - int id_;
|
| -
|
| - // Type (internal or external).
|
| - InputDeviceType type_;
|
| + // Input device information, including id (which uniquely identifies an
|
| + // event converter) and type.
|
| + InputDevice input_device_;
|
|
|
| // Whether events from the device should be ignored.
|
| bool ignore_events_;
|
|
|