DaFluffyPotato | Controller Input - Pygame Tutorial @DaFluffyPotato | Uploaded March 2021 | Updated October 2024, 2 hours ago.
This video covers a way to implement controller (gamepad/joystick) input in Pygame using the joystick module.
Code Written in Video:
dafluffypotato.com/static/scripts/pygame_controller.py
Relevant Documentation:
pygame.org/docs/ref/joystick.html
All my games can be found here:
dafluffypotato.com/projects
Discord: discord.gg/9Qt2GxF
Twitter: twitter.com/DaFluffyPotato
Patreon: patreon.com/dafluffypotato
This video and the code produced in it are released under: CC0 1.0 Universal (CC0 1.0). This puts the video and code produced in it in the public domain, so use it for whatever you want.
#python #pygame
This video covers a way to implement controller (gamepad/joystick) input in Pygame using the joystick module.
Code Written in Video:
dafluffypotato.com/static/scripts/pygame_controller.py
Relevant Documentation:
pygame.org/docs/ref/joystick.html
All my games can be found here:
dafluffypotato.com/projects
Discord: discord.gg/9Qt2GxF
Twitter: twitter.com/DaFluffyPotato
Patreon: patreon.com/dafluffypotato
This video and the code produced in it are released under: CC0 1.0 Universal (CC0 1.0). This puts the video and code produced in it in the public domain, so use it for whatever you want.
#python #pygame