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

Unified Diff: ui/events/ozone/evdev/input_device_factory_evdev.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/input_device_factory_evdev.h
diff --git a/ui/events/ozone/evdev/input_device_factory_evdev.h b/ui/events/ozone/evdev/input_device_factory_evdev.h
index 44cb0e7ad7062a7610c0463dbf7b30cad105a395..091803929d1095966e0ca01f2b32130aa0f97346 100644
--- a/ui/events/ozone/evdev/input_device_factory_evdev.h
+++ b/ui/events/ozone/evdev/input_device_factory_evdev.h
@@ -90,6 +90,7 @@ class EVENTS_OZONE_EVDEV_EXPORT InputDeviceFactoryEvdev {
void NotifyTouchscreensUpdated();
void NotifyMouseDevicesUpdated();
void NotifyTouchpadDevicesUpdated();
+ void NotifyGamepadDevicesUpdated();
void SetIntPropertyForOneType(const EventDeviceType type,
const std::string& name,
@@ -121,6 +122,7 @@ class EVENTS_OZONE_EVDEV_EXPORT InputDeviceFactoryEvdev {
bool keyboard_list_dirty_ = true;
bool mouse_list_dirty_ = true;
bool touchpad_list_dirty_ = true;
+ bool gamepad_list_dirty_ = true;
// Whether we have a list of devices that were present at startup.
bool startup_devices_enumerated_ = false;

Powered by Google App Engine
This is Rietveld 408576698