diff --git a/pygameControls/globals.py b/pygameControls/globals.py index c1d0456..293db76 100644 --- a/pygameControls/globals.py +++ b/pygameControls/globals.py @@ -35,6 +35,34 @@ VID_PID = { "054c:0df2": "DualSense Wireless Controller", } -SONY_GAMEPADS = { - +GAMEPADS = { + "Sony DualSense (PS5)": { + [ + "vidpid": "054c:0ce6", + "connection": ConnectionType.USB, + "input": InputType.DirectInput, + "name": ["DualSense Wireless Controller"] + ], + [ + "vidpid": "054c:0df2", + "connection": ConnectionType.BLUETOOTH, + "input": InputType.DirectInput, + "name" ["DualSense Wireless Controller"] + ] + }, + "Sony DualSense Edge (PS5)": { + [ + "vidhid": "054c:0dfc", + "connection": ConnectionType.USB, + "input": InputType.DirectInput, + "name" ["DualSense Edge Wireless Controller"] + ], + [ + "vidhid": "054c:0dfc", + "connection": ConnectionType.BLUETOOTH, + "input": InputType.DirectInput, + "name": ["DualSense Edge Wireless Controller"] + ] + }, + "" } \ No newline at end of file