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

Unified Diff: services/ui/public/interfaces/input_devices/input_device_server.mojom

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: services/ui/public/interfaces/input_devices/input_device_server.mojom
diff --git a/services/ui/public/interfaces/input_devices/input_device_server.mojom b/services/ui/public/interfaces/input_devices/input_device_server.mojom
index bcd83a668ba887af5b53f6d4e0fe5a3cbfab8b6d..04bc6401a2c5d97202f21a783e3ce08602e8387b 100644
--- a/services/ui/public/interfaces/input_devices/input_device_server.mojom
+++ b/services/ui/public/interfaces/input_devices/input_device_server.mojom
@@ -22,13 +22,17 @@ interface InputDeviceObserverMojo {
// Is called when the list of touchpads changes.
OnTouchpadDeviceConfigurationChanged(array<ui.mojom.InputDevice> devices);
+ // Is called when the list of gamepads changes.
+ OnGamepadDeviceConfigurationChanged(array<ui.mojom.InputDevice> devices);
+
// Is called once all of the input-device lists are available. This will
// always be the first call that an observer receives.
OnDeviceListsComplete(
array<ui.mojom.InputDevice> keyboard_devices,
array<ui.mojom.TouchscreenDevice> touchscreen_devices,
array<ui.mojom.InputDevice> mouse_devices,
- array<ui.mojom.InputDevice> touchpad_devices);
+ array<ui.mojom.InputDevice> touchpad_devices,
+ array<ui.mojom.InputDevice> gamepad_devices);
// Is called when a stylus is removed or inserted into the device.
OnStylusStateChanged(StylusState state);

Powered by Google App Engine
This is Rietveld 408576698