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

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

Issue 2805793002: ozone: evdev: Add gamepad support (Closed)
Patch Set: Created 3 years, 8 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
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 b4ddbcdad8de19b9fbdb189db4bfebe0f4a54fa7..3e4fe95d6e244eb3d47b90aa0fc14a8e048c9a7a 100644
--- a/ui/events/ozone/evdev/event_device_info.h
+++ b/ui/events/ozone/evdev/event_device_info.h
@@ -139,6 +139,9 @@ class EVENTS_OZONE_EVDEV_EXPORT EventDeviceInfo {
// Determine whether there's a touchscreen on this device.
bool HasTouchscreen() const;
+ // Determine whether there's a gamepad on this deivice.
+ bool HasGamepad() const;
+
// The device type (internal or external.)
InputDeviceType device_type() const { return device_type_; }

Powered by Google App Engine
This is Rietveld 408576698