pygame.event.get() not returning any events when inside a thread

You don’t get any events at all, because you have to get the events in the main thread.
See the documentation of pygame.event:

[…] The event subsystem should be called from the main thread.

It is only possible to post events from other thread, but the event queue has to be handled in the main thread.

Leave a Comment