From 17fe11d229cb9ed748c366ef3e9eb7f1ce50ee79 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 29 Nov 2026 20:19:15 -0500 Subject: [PATCH] Start controllers in games that start only pygame's display. Co-Authored-By: Claude Opus 5.5 --- controls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/controls.py b/controls.py index 22a8e9e..74fc275 100644 --- a/controls.py +++ b/controls.py @@ -401,7 +401,8 @@ class PygameDevices: """Start the controller subsystem once pygame is running. Returns True when started.""" if self.started: return True - if not pygame.get_init(): + # Some games start only pygame's display, never pygame.init(); that is enough for controllers. + if not (pygame.get_init() or pygame.display.get_init()): return False try: from pygame._sdl2 import controller