Update pygameControls/xbox_series_x_controller.py

This commit is contained in:
2025-05-05 11:49:42 +02:00
parent e5f6d5697b
commit 263853da7f

View File

@@ -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()