| Index: ui/events/ozone/evdev/event_device_info.h
|
| diff --git a/ui/events/ozone/evdev/event_device_info.h b/ui/events/ozone/evdev/event_device_info.h
|
| index 284d1e83ccaa6b0ca2f8b7921bd2b7cdb5d88132..309ee3848940b51e4d75356a21b9504d58d74662 100644
|
| --- a/ui/events/ozone/evdev/event_device_info.h
|
| +++ b/ui/events/ozone/evdev/event_device_info.h
|
| @@ -44,6 +44,16 @@ class EVENTS_EXPORT EventDeviceInfo {
|
| // Check input device properties.
|
| bool HasProp(unsigned int code) const;
|
|
|
| + // Has absolute X & Y axes.
|
| + bool HasAbsXY() const;
|
| +
|
| + // Has relativeX & Y axes.
|
| + bool HasRelXY() const;
|
| +
|
| + // Determine whether absolute device X/Y coordinates are mapped onto the
|
| + // screen. This is the case for touchscreens and tablets but not touchpads.
|
| + bool IsMappedToScreen() const;
|
| +
|
| private:
|
| unsigned long ev_bits_[EVDEV_BITS_TO_LONGS(EV_CNT)];
|
| unsigned long key_bits_[EVDEV_BITS_TO_LONGS(KEY_CNT)];
|
|
|