Annotated edit history of
SDL_PumpEvents(3) version 2, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
2 |
perry |
1 |
SDL_!PumpEvents |
|
|
2 |
!!!SDL_!PumpEvents |
1 |
perry |
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
SEE ALSO |
|
|
7 |
---- |
|
|
8 |
!!NAME |
|
|
9 |
|
|
|
10 |
|
2 |
perry |
11 |
SDL_!PumpEvents- Pumps the event loop, gathering events from the input devices. |
1 |
perry |
12 |
!!SYNOPSIS |
|
|
13 |
|
|
|
14 |
|
|
|
15 |
__#include __ |
|
|
16 |
|
|
|
17 |
|
2 |
perry |
18 |
__void SDL_!PumpEvents__(__void__); |
1 |
perry |
19 |
!!DESCRIPTION |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
Pumps the event loop, gathering events from the input |
|
|
23 |
devices. |
|
|
24 |
|
|
|
25 |
|
2 |
perry |
26 |
__SDL_!PumpEvents__ gathers all the pending input |
1 |
perry |
27 |
information from devices and places it on the event queue. |
2 |
perry |
28 |
Without calls to __SDL_!PumpEvents__ no events would ever |
1 |
perry |
29 |
be placed on the queue. Often calls the need for |
2 |
perry |
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 |
1 |
perry |
33 |
or waiting for events (e.g. your filtering them), then you |
2 |
perry |
34 |
must call __SDL_!PumpEvents__ to force an event queue |
1 |
perry |
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 |
|
2 |
perry |
46 |
__SDL_!PollEvent__ |
1 |
perry |
47 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.