| Index: ui/events/ozone/evdev/event_converter_evdev_impl.cc
|
| diff --git a/ui/events/ozone/evdev/event_converter_evdev_impl.cc b/ui/events/ozone/evdev/event_converter_evdev_impl.cc
|
| index ebc77fa2771cda1cd8dcf772e870f4817dd6c788..5c4d941843b1a687c2d1b42954b513186b3c2de8 100644
|
| --- a/ui/events/ozone/evdev/event_converter_evdev_impl.cc
|
| +++ b/ui/events/ozone/evdev/event_converter_evdev_impl.cc
|
| @@ -226,7 +226,8 @@ void EventConverterEvdevImpl::OnButtonChange(int code,
|
|
|
| dispatcher_->DispatchMouseButtonEvent(MouseButtonEventParams(
|
| input_device_.id, cursor_->GetLocation(), code, down,
|
| - /* allow_remap */ true, timestamp));
|
| + /* allow_remap */ true, EventPointerType::POINTER_TYPE_MOUSE,
|
| + /* force */ 0.0f, /* tilt_x */ 0.0f, /* tilt_y */ 0.0f, timestamp));
|
| }
|
|
|
| void EventConverterEvdevImpl::FlushEvents(const input_event& input) {
|
| @@ -237,7 +238,9 @@ void EventConverterEvdevImpl::FlushEvents(const input_event& input) {
|
|
|
| dispatcher_->DispatchMouseMoveEvent(
|
| MouseMoveEventParams(input_device_.id, cursor_->GetLocation(),
|
| - TimeDeltaFromInputEvent(input)));
|
| + EventPointerType::POINTER_TYPE_MOUSE,
|
| + /* force */ 0.0f, /* tilt_x */ 0.0f,
|
| + /* tilt_y */ 0.0f, TimeDeltaFromInputEvent(input)));
|
|
|
| x_offset_ = 0;
|
| y_offset_ = 0;
|
|
|