diff --git a/pygameControls/globals.py b/pygameControls/globals.py index 85e6220..31ce0ae 100644 --- a/pygameControls/globals.py +++ b/pygameControls/globals.py @@ -54,6 +54,7 @@ GAMEPADS = { "Sony DualSense (PS5)": { [ "vidpid": "054c:0ce6", + "guid": "030000004c0500000c0e000011010000", "connection": ConnectionType.USB, "input": InputType.DirectInput, "name": ["DualSense Wireless Controller"], @@ -61,6 +62,7 @@ GAMEPADS = { ], [ "vidpid": "054c:0df2", + "guid": "030000004c0500000c0e000011010000", "connection": ConnectionType.BLUETOOTH, "input": InputType.DirectInput, "name" ["DualSense Wireless Controller"], @@ -100,9 +102,39 @@ GAMEPADS = { ] }, "Sony DualShock 4 v1 (PS4)": { - + [ + "vidhid": "054c:05c4", + "guid": "", + "connection": ConnectionType.USB, + "input": InputType.DirectInput, + "name": ["DualShock 4 v1 Controller"], + "class": CONTROLLERS["PLAYSTATION(R)4 Controller"] + ], + [ + "vidhid": "054c:05c4", + "guid": "", + "connection": ConnectionType.BLUETOOTH, + "input": InputType.DirectInput, + "name": ["DualShock 4 v1 Controller"], + "class": CONTROLLERS["Sony PLAYSTATION(R)4 Controller"] + ] }, "Sony DualShock 4 v2 (PS4)": { - + [ + "vidhid": "054c:09cc", + "guid": "", + "connection": ConnectionType.USB, + "input": InputType.DirectInput, + "name": ["DualShock 4 v2 Controller"], + "class": CONTROLLERS["PLAYSTATION(R)4 Controller"] + ], + [ + "vidhid": "054c:09cc", + "guid": "", + "connection": ConnectionType.BLUETOOTH, + "input": InputType.DirectInput, + "name": ["DualShock 4 v2 Controller"], + "class": CONTROLLERS["Sony PLAYSTATION(R)4 Controller"] + ] } } \ No newline at end of file