From b236be16b75e665b62a6f542049756eef6c58cb7 Mon Sep 17 00:00:00 2001 From: Lerking Date: Mon, 5 May 2025 13:57:38 +0200 Subject: [PATCH] Update pygameControls/globals.py --- pygameControls/globals.py | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) 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