Index: ui/events/ozone/evdev/touch_evdev_types.h |
diff --git a/ui/events/ozone/evdev/touch_evdev_types.h b/ui/events/ozone/evdev/touch_evdev_types.h |
index 1efe0c62b415f87f4cb249e30c18d21b40c571c4..d49c406f82125caa3f86645308295dd9279d4979 100644 |
--- a/ui/events/ozone/evdev/touch_evdev_types.h |
+++ b/ui/events/ozone/evdev/touch_evdev_types.h |
@@ -39,6 +39,14 @@ struct EVENTS_OZONE_EVDEV_EXPORT InProgressTouchEvdev { |
float radius_y = 0; |
float pressure = 0; |
int tool_code = 0; |
+ |
+ struct ButtonState { |
+ bool down = false; |
+ bool changed = false; |
+ }; |
+ ButtonState btn_left; |
+ ButtonState btn_right; |
+ ButtonState btn_middle; |
}; |
} // namespace ui |