Aggiungi supporto per la pausa tramite un nuovo tasto nella classe KeyBindings

This commit is contained in:
Matteo Benedetto
2024-12-23 17:03:23 +01:00
parent 3eecc98304
commit 3ee958b235
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -155,8 +155,8 @@ class GameWindow:
elif event.type == sdl2.SDL_JOYBUTTONUP:
key = event.jbutton.button
self.key_up(key)
elif event.type == sdl2.SDL_JOYAXISMOTION:
self.axis_scroll(event.jaxis.axis, event.jaxis.value)
# elif event.type == sdl2.SDL_JOYAXISMOTION:
# self.axis_scroll(event.jaxis.axis, event.jaxis.value)
# Disegna qui gli sprite