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

Unified Diff: ui/events/ozone/evdev/event_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/event_factory_evdev.h
diff --git a/ui/events/ozone/evdev/event_factory_evdev.h b/ui/events/ozone/evdev/event_factory_evdev.h
index 7213204ba09106808b30c8ff6be726e869656477..298018607559df7100fd2370decf790274f3583f 100644
--- a/ui/events/ozone/evdev/event_factory_evdev.h
+++ b/ui/events/ozone/evdev/event_factory_evdev.h
@@ -65,6 +65,7 @@ class EVENTS_OZONE_EVDEV_EXPORT EventFactoryEvdev : public DeviceEventObserver,
InputControllerEvdev* input_controller() { return &input_controller_; }
// User input events.
+ void DispatchGamepadEvent(const GamepadEventParams& params);
void DispatchKeyEvent(const KeyEventParams& params);
void DispatchMouseMoveEvent(const MouseMoveEventParams& params);
void DispatchMouseButtonEvent(const MouseButtonEventParams& params);
@@ -74,6 +75,7 @@ class EVENTS_OZONE_EVDEV_EXPORT EventFactoryEvdev : public DeviceEventObserver,
void DispatchTouchEvent(const TouchEventParams& params);
// Device lifecycle events.
+ void DispatchGamepadDevicesUpdated(const std::vector<InputDevice>& devices);
void DispatchKeyboardDevicesUpdated(const std::vector<InputDevice>& devices);
void DispatchTouchscreenDevicesUpdated(
const std::vector<TouchscreenDevice>& devices);

Powered by Google App Engine
This is Rietveld 408576698