summaryrefslogtreecommitdiff
path: root/chromium/ui/events/ozone/evdev/event_device_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/events/ozone/evdev/event_device_info.h')
-rw-r--r--chromium/ui/events/ozone/evdev/event_device_info.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/ui/events/ozone/evdev/event_device_info.h b/chromium/ui/events/ozone/evdev/event_device_info.h
index 24b79806751..e7624594c05 100644
--- a/chromium/ui/events/ozone/evdev/event_device_info.h
+++ b/chromium/ui/events/ozone/evdev/event_device_info.h
@@ -93,6 +93,7 @@ class EVENTS_OZONE_EVDEV_EXPORT EventDeviceInfo {
// Device identification.
const std::string& name() const { return name_; }
+ const std::string& phys() const { return phys_; }
uint16_t vendor_id() const { return vendor_id_; }
uint16_t product_id() const { return product_id_; }
@@ -177,6 +178,10 @@ class EVENTS_OZONE_EVDEV_EXPORT EventDeviceInfo {
uint16_t vendor_id_;
uint16_t product_id_;
+ // Device evdev physical property containing the output for EVIOCGPHYS that is
+ // (supposed to be) stable between reboots and hotplugs.
+ std::string phys_;
+
// Whether this is an internal or external device.
InputDeviceType device_type_ = InputDeviceType::INPUT_DEVICE_UNKNOWN;