Added Logitect RumblePad 2 controller mapping for Linux (thanks, Nicholas!).
authorRyan C. Gordon <icculus@icculus.org>
Tue, 24 Mar 2015 02:47:25 -0400
changeset 9428c6af2fe2097a
parent 9427 eb1bde345c4b
child 9429 23d657bf9072
Added Logitect RumblePad 2 controller mapping for Linux (thanks, Nicholas!).

Fixes Bugzilla #2091.
src/joystick/SDL_gamecontrollerdb.h
     1.1 --- a/src/joystick/SDL_gamecontrollerdb.h	Tue Mar 24 02:13:25 2015 -0400
     1.2 +++ b/src/joystick/SDL_gamecontrollerdb.h	Tue Mar 24 02:47:25 2015 -0400
     1.3 @@ -74,6 +74,7 @@
     1.4      "030000005e0400001907000000010000,X360 Wireless Controller,a:b0,b:b1,back:b6,dpdown:b14,dpleft:b11,dpright:b12,dpup:b13,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,",
     1.5      "030000005e0400009102000007010000,X360 Wireless Controller,a:b0,b:b1,back:b6,dpdown:b14,dpleft:b11,dpright:b12,dpup:b13,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,",
     1.6      "030000005e040000d102000001010000,Xbox One Wireless Controller,a:b0,b:b1,y:b3,x:b2,start:b7,guide:b8,back:b6,leftstick:b9,rightstick:b10,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:a2,righttrigger:a5,",
     1.7 +    "030000006d04000018c2000010010000,Logitech RumblePad 2,a:b1,b:b2,y:b3,x:b0,start:b9,back:b8,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:b6,righttrigger:b7,",
     1.8  #endif
     1.9  #if defined(__ANDROID__)
    1.10      "4e564944494120436f72706f72617469,NVIDIA Controller,a:b0,b:b1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b9,leftstick:b7,lefttrigger:a4,leftx:a0,lefty:a1,rightshoulder:b10,rightstick:b8,righttrigger:a5,rightx:a2,righty:a3,start:b6,x:b2,y:b3,",