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

Side by Side Diff: ui/events/ozone/gamepad/static_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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_EVENTS_OZONE_STATIC_GAMEPAD_GAMEPAD_MAPPING_H_
6 #define UI_EVENTS_OZONE_STATIC_GAMEPAD_GAMEPAD_MAPPING_H_
7
8 #include "ui/events/ozone/evdev/events_ozone_evdev_export.h"
9 #include "ui/events/ozone/gamepad/gamepad_mapping.h"
10 #include "ui/events/ozone/gamepad/webgamepad_constants.h"
11
12 namespace ui {
13
14 // This function gets the static mapper for the gamepad vendor_id and
15 // product_id.
16 GamepadMapper* EVENTS_OZONE_EVDEV_EXPORT
17 GetStaticGamepadMapper(uint16_t vendor_id, uint16_t product_id);
18
19 } // namespace ui
20
21 #endif // UI_EVENTS_OZONE_STATIC_GAMEPAD_GAMEPAD_MAPPING_H_
OLDNEW
« no previous file with comments | « ui/events/ozone/gamepad/generic_gamepad_mapping_unittest.cc ('k') | ui/events/ozone/gamepad/static_gamepad_mapping.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698