SDL
2.0
SDL_kmsdrmevents.c
Go to the documentation of this file.
1
/*
2
Simple DirectMedia Layer
3
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
4
Atomic KMSDRM backend by Manuel Alfayate Corchete <redwindwanderer@gmail.com>
5
6
This software is provided 'as-is', without any express or implied
7
warranty. In no event will the authors be held liable for any damages
8
arising from the use of this software.
9
10
Permission is granted to anyone to use this software for any purpose,
11
including commercial applications, and to alter it and redistribute it
12
freely, subject to the following restrictions:
13
14
1. The origin of this software must not be misrepresented; you must not
15
claim that you wrote the original software. If you use this software
16
in a product, an acknowledgment in the product documentation would be
17
appreciated but is not required.
18
2. Altered source versions must be plainly marked as such, and must not be
19
misrepresented as being the original software.
20
3. This notice may not be removed or altered from any source distribution.
21
*/
22
23
#include "../../SDL_internal.h"
24
25
#if SDL_VIDEO_DRIVER_KMSDRM
26
27
#include "
SDL_kmsdrmvideo.h
"
28
#include "
SDL_kmsdrmevents.h
"
29
30
#ifdef SDL_INPUT_LINUXEV
31
#include "../../core/linux/SDL_evdev.h"
32
#endif
33
34
void
KMSDRM_PumpEvents
(
_THIS
)
35
{
36
#ifdef SDL_INPUT_LINUXEV
37
SDL_EVDEV_Poll();
38
#endif
39
40
}
41
42
#endif
/* SDL_VIDEO_DRIVER_KMSDRM */
43
_THIS
#define _THIS
Definition:
SDL_alsa_audio.h:31
SDL_kmsdrmevents.h
KMSDRM_PumpEvents
void KMSDRM_PumpEvents(_THIS)
SDL_kmsdrmvideo.h
src
video
kmsdrm
SDL_kmsdrmevents.c
Generated by
1.9.1