Hey,
Sorry if this is the wrong place - I tried to register an account on the
bug tracker but for some reason I never got an email to register.
Anyways, it appears the Windows mapping for PS4 controllers is wrong in (at
least) SDL 2.0.2. From
http://hg.libsdl.org/SDL/file/tip/src/joystick/SDL_gamecontrollerdb.h -
Line 43:
"4c05c405000000000000504944564944,PS4
Controller,a:a3,a:b1,b:b2,back:b8,dpdown:h0.0,dpdown:h0.4,dpleft:h0.8,dpright:h0.0,dpright:h0.2,dpup:h0.0,dpup:h0.1,guide:b12,leftshoulder:b4,leftshoulder:h0.0,leftstick:b10,leftstick:b7,lefttrigger:a3,leftx:a0,lefty:a1,rightshoulder:b5,rightshoulder:b6,rightstick:b11,righttrigger:a4,rightx:a2,righty:a5,start:b9,x:a4,x:b0,y:b3,",
Should probably be changed to:
"4c05c405000000000000504944564944,PS4
Controller,a:b1,b:b2,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b12,leftshoulder:b4,leftstick:b10,lefttrigger:a3,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:a4,rightx:a2,righty:a5,start:b9,x:b0,y:b3,",
That uses the same binding as OS X/Windows, and at least from my experience
works without issues.
Thanks,
-Luke