diff options
Diffstat (limited to 'ui/events/ozone/evdev/touch_evdev_types.cc')
-rw-r--r-- | ui/events/ozone/evdev/touch_evdev_types.cc | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/ui/events/ozone/evdev/touch_evdev_types.cc b/ui/events/ozone/evdev/touch_evdev_types.cc index 4b20d99..b6a9c3c 100644 --- a/ui/events/ozone/evdev/touch_evdev_types.cc +++ b/ui/events/ozone/evdev/touch_evdev_types.cc @@ -6,12 +6,29 @@ namespace ui { -InProgressTouchEvdev::InProgressTouchEvdev() { -} +InProgressTouchEvdev::InProgressTouchEvdev() = default; InProgressTouchEvdev::InProgressTouchEvdev(const InProgressTouchEvdev& other) = default; -InProgressTouchEvdev::~InProgressTouchEvdev() {} +InProgressTouchEvdev::~InProgressTouchEvdev() = default; + +std::ostream& operator<<(std::ostream& out, const InProgressTouchEvdev& touch) { + out << "InProgressTouchEvdev(x=" << touch.x << ", y=" << touch.y + << ", tracking_id=" << touch.tracking_id << ", slot=" << touch.slot + << ", pressure=" << touch.pressure << ", major=" << touch.major + << ", minor=" << touch.minor << ", tool_type=" << touch.tool_type + << ", altered=" << touch.altered + << ", was_touching=" << touch.was_touching + << ", touching=" << touch.touching << ")"; + return out; +} + +InProgressStylusState::InProgressStylusState() = default; + +InProgressStylusState::InProgressStylusState( + const InProgressStylusState& other) = default; + +InProgressStylusState::~InProgressStylusState() = default; -} // namespace ui
\ No newline at end of file +} // namespace ui |