| Index: ui/events/devices/device_util_linux.cc
|
| diff --git a/ui/events/devices/device_util_linux.cc b/ui/events/devices/device_util_linux.cc
|
| index 89247f110a9e50eacb490f2257f2d539fa624788..a9212ed45a5a8e2ebdc79ff52f541e1f876fd3c7 100644
|
| --- a/ui/events/devices/device_util_linux.cc
|
| +++ b/ui/events/devices/device_util_linux.cc
|
| @@ -12,6 +12,9 @@
|
|
|
| namespace ui {
|
|
|
| +// We consider the touchscreen to be internal if it is an I2c device. We search
|
| +// all the dev input nodes registered by I2C devices to see if we can find
|
| +// eventXXX.
|
| bool IsTouchscreenInternal(const base::FilePath& path) {
|
| std::string event_node = path.BaseName().value();
|
| if (event_node.empty() || !StartsWithASCII(event_node, "event", false))
|
|
|