Update pygameControls/globals.py

This commit is contained in:
2025-05-06 08:07:35 +02:00
parent 52264dc7cf
commit 074bff27d6

View File

@@ -54,6 +54,7 @@ GAMEPADS = {
"Sony DualSense (PS5)": { "Sony DualSense (PS5)": {
[ [
"vidpid": "054c:0ce6", "vidpid": "054c:0ce6",
"guid": "030000004c0500000c0e000011010000",
"connection": ConnectionType.USB, "connection": ConnectionType.USB,
"input": InputType.DirectInput, "input": InputType.DirectInput,
"name": ["DualSense Wireless Controller"], "name": ["DualSense Wireless Controller"],
@@ -61,6 +62,7 @@ GAMEPADS = {
], ],
[ [
"vidpid": "054c:0df2", "vidpid": "054c:0df2",
"guid": "030000004c0500000c0e000011010000",
"connection": ConnectionType.BLUETOOTH, "connection": ConnectionType.BLUETOOTH,
"input": InputType.DirectInput, "input": InputType.DirectInput,
"name" ["DualSense Wireless Controller"], "name" ["DualSense Wireless Controller"],
@@ -100,9 +102,39 @@ GAMEPADS = {
] ]
}, },
"Sony DualShock 4 v1 (PS4)": { "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)": { "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"]
]
} }
} }