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

Unified Diff: ui/events/ozone/evdev/touch_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/touch_event_converter_evdev.cc
diff --git a/ui/events/ozone/evdev/touch_event_converter_evdev.cc b/ui/events/ozone/evdev/touch_event_converter_evdev.cc
index 7bc1282f88d66e920d9143319d7ede682522e502..154b346e8cf77cb46eae117e8e5d77e0f4025328 100644
--- a/ui/events/ozone/evdev/touch_event_converter_evdev.cc
+++ b/ui/events/ozone/evdev/touch_event_converter_evdev.cc
@@ -444,7 +444,8 @@ void TouchEventConverterEvdev::ReportTouchEvent(
base::TimeTicks timestamp) {
ui::PointerDetails details(event.reported_tool_type, event.radius_x,
event.radius_y, event.pressure,
- /* tilt_x */ 0.0f, /* tilt_y */ 0.0f);
+ /* tilt_x */ 0.0f, /* tilt_y */ 0.0f,
+ /* tangentialPressure */ 0.0f, /* twist */ 0);
dispatcher_->DispatchTouchEvent(
TouchEventParams(input_device_.id, event.slot, event_type,
gfx::PointF(event.x, event.y), details, timestamp));

Powered by Google App Engine
This is Rietveld 408576698