I built a game using PyGame that works perfectly when using a keyboard. Then I wrote the game again with 'pygame.joystick.init()'. Please view the Zip, containing the full code with all the needed resources.
What's the issue? I need this game to run on a RetroPie machine which will be connected to an arcade machine. The RetroPie runs on Rasberry Pi 3, with a 'sanwa' Joystick. When I upload and initialize the game (.py file) the buttons and joystick of the arcade are unresponsive.
Can anyone check out my code
and tell me if I wrote something wrong, or the Arcade guy (the one with RetroPie) needs to do something different?
I built a game using PyGame that works perfectly when using a keyboard. Then I wrote the game again with 'pygame.joystick.init()'. Please view the Zip, containing the full code with all the needed resources.
What's the issue? I need this game to run on a RetroPie machine which will be connected to an arcade machine. The RetroPie runs on Rasberry Pi 3, with a 'sanwa' Joystick. When I upload and initialize the game (.py file) the buttons and joystick of the arcade are unresponsive.
Can anyone check out my code and tell me if I wrote something wrong, or the Arcade guy (the one with RetroPie) needs to do something different?
Thanks!!!
JoyStick_to_Shay (1).zip