From 645fad053df06ceb67f23f3ddddb5792c6c9b536 Mon Sep 17 00:00:00 2001 From: Chloe Surett Date: Tue, 30 Jul 2024 11:28:42 -0400 Subject: [PATCH 1/2] Add Dualsense Edge --- pydualsense/pydualsense.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pydualsense/pydualsense.py b/pydualsense/pydualsense.py index 2565723..e60d955 100644 --- a/pydualsense/pydualsense.py +++ b/pydualsense/pydualsense.py @@ -177,7 +177,7 @@ class pydualsense: detected_device: hidapi.Device = None devices = hidapi.enumerate(vendor_id=0x054C) for device in devices: - if device.vendor_id == 0x054C and device.product_id == 0x0CE6: + if device.vendor_id == 0x054C and device.product_id in (0x0CE6, 0x0DF2): detected_device = device if detected_device is None: From 17182ff3110cf72ce3a8e1bdd87e05c31ce97202 Mon Sep 17 00:00:00 2001 From: Chloe Surett Date: Tue, 30 Jul 2024 11:29:37 -0400 Subject: [PATCH 2/2] Add Dualsense Edge --- 70-ps5-controller.rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/70-ps5-controller.rules b/70-ps5-controller.rules index 771fd4e..20c06a3 100644 --- a/70-ps5-controller.rules +++ b/70-ps5-controller.rules @@ -6,6 +6,10 @@ # PS5 DualSense controller over USB hidraw KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ce6", MODE="0660", TAG+="uaccess" +# PS5 DualSense Edge controller over USB hidraw +KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0df2", MODE="0660", TAG+="uaccess" # PS5 DualSense controller over bluetooth hidraw KERNEL=="hidraw*", KERNELS=="*054C:0CE6*", MODE="0660", TAG+="uaccess" +# PS5 DualSense Edge controller over bluetooth hidraw +KERNEL=="hidraw*", KERNELS=="*054C:0DF2*", MODE="0660", TAG+="uaccess"