Processes Windows messages and updates input state.
Takes no parameters.
Returns nothing.
System
Parameters & Returns
Parameters
This function takes no parameters.
Returns
Void
Quick Summary
Processes Windows messages and updates input state.
Takes no parameters.
Returns nothing.
Technical Exegesis...
Processes Windows messages for all application windows (console, 2D graphics, 3D graphics, canvases) and updates input states. Behavior depends on mode set by sysSetEventMode: EVENT_IMMEDIATE processes all pending messages (non-blocking), EVENT_WAIT waits for at least one message (blocking).
Updates keyboard/mouse/controller input states by checking which window has focus. Caches focused window/canvas ID. Dispatches messages using TranslateMessage and DispatchMessage. Updates 3D audio listener.
Processes Windows messages for all application windows (console, 2D graphics, 3D graphics, canvases) and updates input states. Behavior depends on mode set by sysSetEventMode: EVENT_IMMEDIATE processes all pending messages (non-blocking), EVENT_WAIT waits for at least one message (blocking).
Updates keyboard/mouse/controller input states by checking which window has focus. Caches focused window/canvas ID. Dispatches messages using TranslateMessage and DispatchMessage. Updates 3D audio listener. Should be called in the main loop of event-driven applications. Required for input functions to work correctly.