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

Unified Diff: ui/events/ozone/evdev/input_device_factory_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/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 b4ff3339827b8eed2b3147e983046f4dc5584afc..ddfbc999ae6c6401489288439bb7dcbff02a0f57 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,
@@ -118,6 +119,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;
« no previous file with comments | « ui/events/ozone/evdev/gamepad_event_converter_evdev_unittest.cc ('k') | ui/events/ozone/evdev/input_device_factory_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698