| Index: ui/events/ozone/evdev/event_device_test_util.h
|
| diff --git a/ui/events/ozone/evdev/event_device_test_util.h b/ui/events/ozone/evdev/event_device_test_util.h
|
| index fecd44a130271b4d665c4451a307511c060e706e..46afb6ab865aa922bf80abe0bb23deff259db88b 100644
|
| --- a/ui/events/ozone/evdev/event_device_test_util.h
|
| +++ b/ui/events/ozone/evdev/event_device_test_util.h
|
| @@ -5,10 +5,17 @@
|
| #ifndef UI_EVENTS_OZONE_EVDEV_EVENT_DEVICE_TEST_UTIL_H_
|
| #define UI_EVENTS_OZONE_EVDEV_EVENT_DEVICE_TEST_UTIL_H_
|
|
|
| +#include <linux/input.h>
|
| +
|
| namespace ui {
|
|
|
| class EventDeviceInfo;
|
|
|
| +struct DeviceAbsoluteAxis {
|
| + unsigned int code;
|
| + input_absinfo absinfo;
|
| +};
|
| +
|
| struct DeviceCapabilities {
|
| // Full sysfs path (readlink -f /sys/class/input/event*)
|
| const char* path;
|
| @@ -42,6 +49,10 @@ struct DeviceCapabilities {
|
| const char* sw;
|
| const char* led;
|
| const char* ff;
|
| +
|
| + // EVIOCGABS.
|
| + const DeviceAbsoluteAxis* abs_axis;
|
| + size_t abs_axis_count;
|
| };
|
|
|
| bool CapabilitiesToDeviceInfo(const DeviceCapabilities& capabilities,
|
|
|