Home > Enterprise >  Python Xbox Settings
Python Xbox Settings

Time:10-10

I am trying to run some code that will allow the user to control with an Xbox Controller. I have it working with the Xbox 360 controller using Pygame. Then when I try to use the Xbox one controller and it is able to read the as "connected" but it doesn't read the actual button presses.

I tried running the joystick analyzer found on the Pygame website and it shows it connected again but no button input is taken.

The code for this can be found at the bottom of this documentation page: https://www.pygame.org/docs/ref/joystick.html

CodePudding user response:

Try to check the Bluetooth settings at the time of connection. I think that's where your problem is.

CodePudding user response:

always check the connection between the joystick and bluetooth, thanks @dxDark for the tip

  • Related