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

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

Issue 2805793002: ozone: evdev: Add gamepad support (Closed)
Patch Set: Support Gamepad in Ozone. Created 3 years, 7 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_converter_evdev.h
diff --git a/ui/events/ozone/evdev/event_converter_evdev.h b/ui/events/ozone/evdev/event_converter_evdev.h
index 2372fd89e2f9463ec633cea1c04d2298070a1307..d9065204c25133d3988af8d37b3b896d6c10798b 100644
--- a/ui/events/ozone/evdev/event_converter_evdev.h
+++ b/ui/events/ozone/evdev/event_converter_evdev.h
@@ -80,6 +80,9 @@ class EVENTS_OZONE_EVDEV_EXPORT EventConverterEvdev
// Returns true if the converter is used for a pen device.
virtual bool HasPen() const;
+ // Returns true if the converter is used for a device with gamepad input.
+ virtual bool HasGamepad() const;
+
// Returns true if the converter is used for a device with a caps lock LED.
virtual bool HasCapsLockLed() const;
« no previous file with comments | « ui/events/ozone/evdev/device_event_dispatcher_evdev.h ('k') | ui/events/ozone/evdev/event_converter_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698