mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-09 01:16:04 +00:00
Split sdl loop and input code
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include "input/evdev.h"
|
||||
#include "input/udev.h"
|
||||
#include "input/cec.h"
|
||||
#include "input/sdlinput.h"
|
||||
|
||||
#include "limelight-common/Limelight.h"
|
||||
|
||||
@@ -203,6 +204,10 @@ int main(int argc, char* argv[]) {
|
||||
cec_init();
|
||||
#endif /* HAVE_LIBCEC */
|
||||
}
|
||||
#ifdef HAVE_SDL
|
||||
else if (system == SDL)
|
||||
sdlinput_init();
|
||||
#endif
|
||||
|
||||
stream(server, &config, system);
|
||||
} else if (strcmp("pair", config.action) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user