Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(427)

Unified Diff: ui/events/ozone/evdev/tablet_event_converter_evdev.cc

Issue 2647253002: Add tangentialPressure and twist properties to PointerEvent on Windows (Closed)
Patch Set: rotation Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/events/ozone/evdev/tablet_event_converter_evdev.cc
diff --git a/ui/events/ozone/evdev/tablet_event_converter_evdev.cc b/ui/events/ozone/evdev/tablet_event_converter_evdev.cc
index ef021d392a213c277c59b0f8844e598aa4ab0f66..6f56ae5909e6d3cb1a60a5b72ef1d513b7522c68 100644
--- a/ui/events/ozone/evdev/tablet_event_converter_evdev.cc
+++ b/ui/events/ozone/evdev/tablet_event_converter_evdev.cc
@@ -189,7 +189,7 @@ void TabletEventConverterEvdev::DispatchMouseButton(const input_event& input) {
false /* allow_remap */,
PointerDetails(GetToolType(stylus_),
/* radius_x */ 0.0f, /* radius_y */ 0.0f, pressure_,
- tilt_x_, tilt_y_),
+ tilt_x_, tilt_y_, 0.0f, 0),
TimeTicksFromInputEvent(input)));
}
@@ -212,7 +212,7 @@ void TabletEventConverterEvdev::FlushEvents(const input_event& input) {
input_device_.id, EF_NONE, cursor_->GetLocation(),
PointerDetails(GetToolType(stylus_),
/* radius_x */ 0.0f, /* radius_y */ 0.0f, pressure_,
- tilt_x_, tilt_y_),
+ tilt_x_, tilt_y_, 0.0f, 0),
TimeTicksFromInputEvent(input)));
abs_value_dirty_ = false;

Powered by Google App Engine
This is Rietveld 408576698