Commits

illume committed b437d9f

Added note about how events should be used from the main thread.

Fixes #56

Comments (0)

Files changed (1)

docs/reST/ref/event.rst

 ``pygame.event.set_allowed()`` and ``pygame.event.set_blocked()`` to work with
 this filtering. All events default to allowed.
 
+The event subsystem should be called from the main thread.  If you want to post
+events into the queue from other threads, please use the fastevent package.
+
 Joysticks will not send any events until the device has been initialized.
 
 An Event object contains an event type and a readonly set of member data. The
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.