al_drop_next_event
bool al_drop_next_event(ALLEGRO_EVENT_QUEUE *queue)
Introduced in 5.0.0
Drop (remove) the next event from the queue. If the queue is empty, nothing happens. Returns true if an event was dropped.
See also: al_flush_event_queue, al_is_event_queue_empty
Most helpful discussions:
- Clearing a queue except fro mouse clicks
- Drawing antialiased primitives to bitmaps?
- Creating a Allegro 5 equivalent to _kbhit()
- Advice for game loops with lengthy computations
- A5 - Proper Allegro event structure
- [A5.0.10] Critical Issue with Keyboard Locking Up Due to Joystick Event Handling
- How do you structure multiple game screens?
- Tic
- Listeners, threads, synchronization
- Crash getting text width when maximizing with D3D Driver
Other recent discussions: