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

Unified Diff: device/gamepad/gamepad_standard_mappings_win.cc

Issue 2081583002: Migrating majority of gamepad from content/browser/ to device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final tweaks Created 4 years, 5 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 | « device/gamepad/gamepad_standard_mappings_mac.mm ('k') | device/gamepad/gamepad_test_helpers.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/gamepad/gamepad_standard_mappings_win.cc
diff --git a/content/browser/gamepad/gamepad_standard_mappings_win.cc b/device/gamepad/gamepad_standard_mappings_win.cc
similarity index 96%
rename from content/browser/gamepad/gamepad_standard_mappings_win.cc
rename to device/gamepad/gamepad_standard_mappings_win.cc
index efdcc1333cb1a9988dbae4714764155bab987b31..0d5943fcd9dcb6ac8c63c79e91591ec0fb267f6f 100644
--- a/content/browser/gamepad/gamepad_standard_mappings_win.cc
+++ b/device/gamepad/gamepad_standard_mappings_win.cc
@@ -5,9 +5,9 @@
#include <stddef.h>
#include "base/macros.h"
-#include "content/browser/gamepad/gamepad_standard_mappings.h"
+#include "device/gamepad/gamepad_standard_mappings.h"
-namespace content {
+namespace device {
namespace {
@@ -243,10 +243,10 @@ struct MappingData {
{"046d", "c216", MapperLogitechDualAction}, // Logitech DualAction
{"054c", "05c4", MapperDualshock4}, // Playstation Dualshock 4
{"0583", "2060", MapperIBuffalo}, // iBuffalo Classic
- {"0955", "7210", MapperNvShield}, // Nvidia Shield gamepad
- {"0b05", "4500", MapperADT1}, // Nexus Player Controller
- {"1532", "0900", MapperRazerServal}, // Razer Serval Controller
- {"18d1", "2c40", MapperADT1}, // ADT-1 Controller
+ {"0955", "7210", MapperNvShield}, // Nvidia Shield gamepad
+ {"0b05", "4500", MapperADT1}, // Nexus Player Controller
+ {"1532", "0900", MapperRazerServal}, // Razer Serval Controller
+ {"18d1", "2c40", MapperADT1}, // ADT-1 Controller
{"20d6", "6271", MapperMogaPro}, // Moga Pro Controller (HID mode)
{"2378", "1008", MapperOnLiveWireless}, // OnLive Controller (Bluetooth)
{"2378", "100a", MapperOnLiveWireless}, // OnLive Controller (Wired)
@@ -266,4 +266,4 @@ GamepadStandardMappingFunction GetGamepadStandardMappingFunction(
return NULL;
}
-} // namespace content
+} // namespace device
« no previous file with comments | « device/gamepad/gamepad_standard_mappings_mac.mm ('k') | device/gamepad/gamepad_test_helpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698