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

Unified Diff: ui/events/ozone/gamepad/generic_gamepad_mapping.h

Issue 2899893003: Add generic mapping for gamepad (Closed)
Patch Set: Add generic mapping for gamepad Created 3 years, 6 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
« no previous file with comments | « ui/events/ozone/gamepad/gamepad_mapping.cc ('k') | ui/events/ozone/gamepad/generic_gamepad_mapping.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/gamepad/generic_gamepad_mapping.h
diff --git a/ui/events/ozone/gamepad/generic_gamepad_mapping.h b/ui/events/ozone/gamepad/generic_gamepad_mapping.h
new file mode 100644
index 0000000000000000000000000000000000000000..e5030e9b0e30d614b48a284cbcd1b9f0762abda2
--- /dev/null
+++ b/ui/events/ozone/gamepad/generic_gamepad_mapping.h
@@ -0,0 +1,21 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_EVENTS_OZONE_GENERIC_GAMEPAD_GAMEPAD_MAPPING_H_
+#define UI_EVENTS_OZONE_GENERIC_GAMEPAD_GAMEPAD_MAPPING_H_
+
+#include <vector>
+#include "ui/events/ozone/evdev/events_ozone_evdev_export.h"
+#include "ui/events/ozone/gamepad/gamepad_mapping.h"
+
+namespace ui {
+
+class EventDeviceInfo;
+
+std::unique_ptr<GamepadMapper> EVENTS_OZONE_EVDEV_EXPORT
+BuildGenericGamepadMapper(const EventDeviceInfo& info);
+
+} // namespace ui
+
+#endif // UI_EVENTS_OZONE_GENERIC_GAMEPAD_GAMEPAD_MAPPING_H_
« no previous file with comments | « ui/events/ozone/gamepad/gamepad_mapping.cc ('k') | ui/events/ozone/gamepad/generic_gamepad_mapping.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698