Annotated edit history of
SDL_PumpEvents(3) version 2 showing authors affecting page license.
View with all changes included.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
SDL_!PumpEvents |
|
|
2 |
!!!SDL_!PumpEvents |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
SEE ALSO |
|
|
7 |
---- |
|
|
8 |
!!NAME |
|
|
9 |
|
|
|
10 |
|
|
|
11 |
SDL_!PumpEvents- Pumps the event loop, gathering events from the input devices. |
|
|
12 |
!!SYNOPSIS |
|
|
13 |
|
|
|
14 |
|
|
|
15 |
__#include __ |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
__void SDL_!PumpEvents__(__void__); |
|
|
19 |
!!DESCRIPTION |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
Pumps the event loop, gathering events from the input |
|
|
23 |
devices. |
|
|
24 |
|
|
|
25 |
|
|
|
26 |
__SDL_!PumpEvents__ gathers all the pending input |
|
|
27 |
information from devices and places it on the event queue. |
|
|
28 |
Without calls to __SDL_!PumpEvents__ no events would ever |
|
|
29 |
be placed on the queue. Often calls the need for |
|
|
30 |
__SDL_!PumpEvents__ is hidden from the user since |
|
|
31 |
__SDL_!PollEvent__ and __SDL_!WaitEvent__ implicitly |
|
|
32 |
call __SDL_!PumpEvents__. However, if you are not polling |
|
|
33 |
or waiting for events (e.g. your filtering them), then you |
|
|
34 |
must call __SDL_!PumpEvents__ to force an event queue |
|
|
35 |
update. |
|
|
36 |
|
|
|
37 |
|
|
|
38 |
__Note:__ |
|
|
39 |
|
|
|
40 |
|
|
|
41 |
You can only call this function in the thread that set the |
|
|
42 |
video mode. |
|
|
43 |
!!SEE ALSO |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
__SDL_!PollEvent__ |
|
|
47 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.