joncoop / pygame-xbox360controller

http://joncoop.github.io/pygame-xbox360controller/
MIT License
30 stars 9 forks source link

Mac OS joystick not initialized #5

Closed artem469 closed 4 years ago

artem469 commented 4 years ago

Hi! I try to run your example on mac os and I have this trouble: Traceback (most recent call last): File "/Users/artem/PycharmProjects/desktopCli/main.py", line 16, in joy_controller = xbox360controller.Controller(0) File "/Users/artem/PycharmProjects/desktopCli/xbox360controller.py", line 105, in init self.joystick = pygame.joystick.Joystick(Controller.id_num) pygame.error: joystick system not initialized

driver is installed and work fine (360Controller 1.0.0-alpha.5)

artem469 commented 4 years ago

Sorry, figured it all out myself