diff --git a/pygameControls/dualsense_controller.py b/pygameControls/dualsense_controller.py index a9de40d..742fdd0 100644 --- a/pygameControls/dualsense_controller.py +++ b/pygameControls/dualsense_controller.py @@ -11,10 +11,11 @@ BATTERY_STATE = { } class DualSenseController(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)