From b78cc61b21ad0105c9d316624de2119526b50c34 Mon Sep 17 00:00:00 2001 From: Lerking Date: Mon, 5 May 2025 09:11:29 +0200 Subject: [PATCH] Update pygameControls/xbox_series_x_controller.py --- pygameControls/xbox_series_x_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygameControls/xbox_series_x_controller.py b/pygameControls/xbox_series_x_controller.py index 5da1347..b64a631 100644 --- a/pygameControls/xbox_series_x_controller.py +++ b/pygameControls/xbox_series_x_controller.py @@ -5,8 +5,8 @@ class XboxSeriesXController(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()