diff --git a/pygameControls/generic_controller.py b/pygameControls/generic_controller.py index 76fe57b..40fd9ac 100644 --- a/pygameControls/generic_controller.py +++ b/pygameControls/generic_controller.py @@ -6,8 +6,8 @@ class GenericController(ControlsBase): 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.connection_type = connection_type self.numaxis: int = self.device.get_numaxes() self.axis: list = [self.device.get_axis(a) for a in range(self.numaxis)] self.numhats: int = self.device.get_numhats()