From 0f4081f054c85b983c5464f0d0ee759b9fddaa0a Mon Sep 17 00:00:00 2001 From: yodah <159531413+yodaxtah@users.noreply.github.com> Date: Sun, 22 Sep 2024 01:39:46 +0200 Subject: [PATCH] Add support for PDP REALMz Wired Controller Switch (#790) * Add support for PDP REALMz Wired Controller Switch I'm doing this for a user of OpenGOAL, who claims the generated mapping works. The user provided the following output. ``` SDL2 Gamepad Tool v1.2 by General Arcade (compiled with SDL version 2.0.7, DLL version 2.0.7) Website: http://generealarcade.com/gamepadtool/ Searching gamepads... Found 1 gamepad(s): "PDP REALMz Wired Controller Switch - Sonic The Hedgehog", 030000006f0e00008901000000000000 Environment variable "SDL_GAMECONTROLLERCONFIG" is not defined Checking if new mappings available from github: https://github.com/gabomdq/SDL_GameControllerDB Mapping string: '030000006f0e00008901000000000000,PDP REALMz Wired Controller Switch - Sonic The Hedgehog,platform:Windows,a:b1,b:b2,x:b0,y:b3,back:b8,guide:b12,start:b9,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:b6,righttrigger:b7,' Searching gamepads... Found 1 gamepad(s): "PDP REALMz Wired Controller Switch - Sonic The Hedgehog", 030000006f0e00008901000000000000 (mapping available) GitHub ``` * Clean up --------- Co-authored-by: Alynne --- gamecontrollerdb.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/gamecontrollerdb.txt b/gamecontrollerdb.txt index 53a45ce..0169910 100644 --- a/gamecontrollerdb.txt +++ b/gamecontrollerdb.txt @@ -482,6 +482,7 @@ 03000000790000002201000000000000,PC Controller,a:b2,b:b1,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a2,righty:a3,start:b9,x:b3,y:b0,platform:Windows, 030000006f0e00008501000000000000,PDP Fightpad Pro GameCube Controller,a:b1,b:b0,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b12,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,misc1:b13,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a2,righty:a3,start:b9,x:b2,y:b3,platform:Windows, 030000006f0e00000901000000000000,PDP PS3 Versus Fighting,a:b1,b:b2,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b12,leftshoulder:b4,lefttrigger:b6,rightshoulder:b5,righttrigger:b7,start:b9,x:b0,y:b3,platform:Windows, +030000006f0e00008901000000000000,PDP Realmz Nintendo Switch Controller,a:b1,b:b2,x:b0,y:b3,back:b8,guide:b12,start:b9,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:b6,righttrigger:b7,platform:Windows, 030000008f0e00004100000000000000,PlaySega,a:b1,b:b0,dpdown:+a1,dpleft:-a0,dpright:+a0,dpup:-a1,leftshoulder:b6,lefttrigger:b7,rightshoulder:b5,righttrigger:b2,start:b8,x:b4,y:b3,platform:Windows, 03000000666600006706000000000000,PlayStation Adapter,a:b2,b:b1,back:b8,dpdown:b14,dpleft:b15,dpright:b13,dpup:b12,leftshoulder:b6,leftstick:b9,lefttrigger:b4,leftx:a0,lefty:a1,rightshoulder:b7,rightstick:b10,righttrigger:b5,rightx:a2,righty:a3,start:b11,x:b3,y:b0,platform:Windows, 03000000e30500009605000000000000,PlayStation Adapter,a:b2,b:b1,back:b9,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b6,leftstick:b10,lefttrigger:b4,leftx:a0,lefty:a1,rightshoulder:b7,rightstick:b11,righttrigger:b5,rightx:a2,righty:a3,start:b8,x:b3,y:b0,platform:Windows,