diff --git a/pygameControls/logitech_dual_action_controller.py b/pygameControls/logitech_dual_action_controller.py index 6ae0c51..ab6ae12 100644 --- a/pygameControls/logitech_dual_action_controller.py +++ b/pygameControls/logitech_dual_action_controller.py @@ -21,10 +21,11 @@ class InputMode(Enum): XInput = 2 class LogitechDualActionController(ControlsBase): - def __init__(self, joy): + def __init__(self, joy, connection_type): self.device = joy self.instance_id: int = self.device.get_instance_id() self.name = self.device.get_name() + self.connection_type = connection_type self.guid = self.device.get_guid() self.powerlevel = self.device.get_power_level() self.numaxis: int = self.device.get_numaxes()