OLD | NEW |
(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_ |
OLD | NEW |