diff --git a/pygameControls/controller.py b/pygameControls/controller.py index 0055cc4..c69030b 100644 --- a/pygameControls/controller.py +++ b/pygameControls/controller.py @@ -9,7 +9,7 @@ from .xbox_series_x_controller import XboxSeriesXController from .generic_controller import GenericController from .logitech_dual_action_controller import LogitechDualActionController -__version__ = "0.1.9" +__version__ = "0.1.10" CONTROLLERS = { "DualSense Wireless Controller": DualSenseController, diff --git a/pygameControls/xbox_series_x_controller.py b/pygameControls/xbox_series_x_controller.py index 0761752..b2aa230 100644 --- a/pygameControls/xbox_series_x_controller.py +++ b/pygameControls/xbox_series_x_controller.py @@ -24,8 +24,8 @@ class XboxSeriesXController(ControlsBase): "left button": self.buttons[6], "right button": self.buttons[7], "X button": self.buttons[3], - "Y button": self.buttons[4], - "A button": self.buttons[0], + "Y button": 4, + "A button": 0, "B button": self.buttons[1], "left stick button": self.buttons[13], "right stick button": self.buttons[14], diff --git a/setup.py b/setup.py index 9233025..e6ec625 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ if __name__ == "__main__": setup( name='pygameControls', - version='0.1.9', + version='0.1.10', packages=find_packages(), install_requires=[], author='Jan Lerking',