From 7b2641f17478d9543ffc85c72ffb58ef0cb0b9a0 Mon Sep 17 00:00:00 2001 From: Lerking Date: Mon, 5 May 2025 09:03:55 +0200 Subject: [PATCH] Update pygameControls/dualsense_edge_controller.py --- pygameControls/dualsense_edge_controller.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pygameControls/dualsense_edge_controller.py b/pygameControls/dualsense_edge_controller.py index 15e3179..5ace8af 100644 --- a/pygameControls/dualsense_edge_controller.py +++ b/pygameControls/dualsense_edge_controller.py @@ -3,10 +3,11 @@ from pydualsense import * class DualSenseEdgeController(ControlsBase): - def __init__(self, joy): + def __init__(self, joy, connection_type): self.device = pydualsense() self.device.init() self.name = self.device.device.get_product_string() + self.connection_type = connection_type self.powerlevel = self.device.battery.Level self.batterystate = BATTERY_STATE[str(self.device.battery.State)] self.set_player_id(PlayerID.PLAYER_1)