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

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

Issue 1014853005: ozone: evdev: Remove BTN_LEFT from touchscreen probing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/evdev/event_device_info.cc
diff --git a/ui/events/ozone/evdev/event_device_info.cc b/ui/events/ozone/evdev/event_device_info.cc
index 8e39739f24b67788c49d54ff021c19c91265530d..fc2b273aac4af26df5e923a75bb8fb50600cf311 100644
--- a/ui/events/ozone/evdev/event_device_info.cc
+++ b/ui/events/ozone/evdev/event_device_info.cc
@@ -343,7 +343,7 @@ EventDeviceInfo::ProbeLegacyAbsoluteDevice() const {
if (HasKeyEvent(BTN_TOOL_FINGER) && HasKeyEvent(BTN_TOUCH))
return LegacyAbsoluteDeviceType::LADT_TOUCHPAD;
- if (HasKeyEvent(BTN_TOUCH) || HasKeyEvent(BTN_LEFT))
+ if (HasKeyEvent(BTN_TOUCH))
return LegacyAbsoluteDeviceType::LADT_TOUCHSCREEN;
return LegacyAbsoluteDeviceType::LADT_NONE;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698