From 263853da7f9d2d7c55cd339c5fedc6f075aecf14 Mon Sep 17 00:00:00 2001 From: Lerking Date: Mon, 5 May 2025 11:49:42 +0200 Subject: [PATCH] Update pygameControls/xbox_series_x_controller.py --- pygameControls/xbox_series_x_controller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pygameControls/xbox_series_x_controller.py b/pygameControls/xbox_series_x_controller.py index 29d7d5e..bf986d8 100644 --- a/pygameControls/xbox_series_x_controller.py +++ b/pygameControls/xbox_series_x_controller.py @@ -9,6 +9,7 @@ class XboxSeriesXController(ControlsBase): self.name = self.device.get_name() self.guid = self.device.get_guid() self.connection_type = ConnectionType(connection_type.values()) + self.input_type = InputType.XInput 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()