7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
10 TITLE="SDL Library Documentation"
11 HREF="index.html"><LINK
13 TITLE="Event Functions."
14 HREF="eventfunctions.html"><LINK
16 TITLE="Event Functions."
17 HREF="eventfunctions.html"><LINK
19 TITLE="SDL_PeepEvents"
20 HREF="sdlpeepevents.html"></HEAD
31 SUMMARY="Header navigation table"
40 >SDL Library Documentation</TH
48 HREF="eventfunctions.html"
62 HREF="sdlpeepevents.html"
83 >SDL_PumpEvents -- Pumps the event loop, gathering events from the input devices.</DIV
85 CLASS="REFSYNOPSISDIV"
99 CLASS="FUNCSYNOPSISINFO"
100 >#include "SDL.h"</PRE
123 >Pumps the event loop, gathering events from the input devices.</P
128 > gathers all the pending input information from devices and places it on the event queue. Without calls to <TT
131 > no events would ever be placed on the queue. Often calls the need for <TT
134 > is hidden from the user since <A
135 HREF="sdlpollevent.html"
141 HREF="sdlwaitevent.html"
146 > implicitly call <TT
149 >. However, if you are not polling or waiting for events (e.g. you are filtering them), then you must call <TT
152 > to force an event queue update.</P
160 >You can only call this function in the thread that set the video mode.</P
173 HREF="sdlpollevent.html"
185 SUMMARY="Footer navigation table"
196 HREF="eventfunctions.html"
214 HREF="sdlpeepevents.html"
224 >Event Functions.</TD
230 HREF="eventfunctions.html"