sysUpdateEvents

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.

Example

Example.bam
; No example implemented yet