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

Unified Diff: content/browser/gamepad/gamepad_standard_mappings_linux.cc

Issue 10854107: Add linux/mac gamepad mappings for SmartJoy PLUS adapter. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | « no previous file | content/browser/gamepad/gamepad_standard_mappings_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gamepad/gamepad_standard_mappings_linux.cc
===================================================================
--- content/browser/gamepad/gamepad_standard_mappings_linux.cc (revision 151200)
+++ content/browser/gamepad/gamepad_standard_mappings_linux.cc (working copy)
@@ -43,7 +43,7 @@
mapped->axesLength = kNumAxes;
}
-void MapperMP8866(
+void MapperLakeviewResearch(
const WebKit::WebGamepad& input,
WebKit::WebGamepad* mapped) {
*mapped = input;
@@ -125,7 +125,8 @@
{ "046d", "c21e", MapperXInputStyleGamepad }, // Logitech F510
{ "046d", "c21f", MapperXInputStyleGamepad }, // Logitech F710
{ "054c", "0268", MapperPlaystationSixAxis }, // Playstation SIXAXIS
- { "0925", "8866", MapperMP8866 }, // WiseGroup MP-8866
+ { "0925", "0005", MapperLakeviewResearch }, // SmartJoy PLUS Adapter
+ { "0925", "8866", MapperLakeviewResearch }, // WiseGroup MP-8866
{ "0e8f", "0003", MapperXGEAR }, // XFXforce XGEAR PS2 Controller
};
« no previous file with comments | « no previous file | content/browser/gamepad/gamepad_standard_mappings_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698