mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-08 08:56:17 +00:00
Input methods seperatly added in CMakeLists
This commit is contained in:
@@ -17,8 +17,6 @@
|
||||
* along with Moonlight; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_LIBCEC
|
||||
|
||||
#include <Limelight.h>
|
||||
|
||||
#include <ceccloader.h>
|
||||
@@ -111,4 +109,3 @@ void cec_init() {
|
||||
|
||||
g_iface.set_active_source(g_iface.connection, g_config.deviceTypes.types[0]);
|
||||
}
|
||||
#endif /* HAVE_LIBCEC */
|
||||
|
||||
@@ -17,9 +17,7 @@
|
||||
* along with Moonlight; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_SDL
|
||||
|
||||
#include "sdlinput.h"
|
||||
#include "sdl.h"
|
||||
#include "../sdl.h"
|
||||
|
||||
#include <Limelight.h>
|
||||
@@ -239,5 +237,3 @@ int sdlinput_handle_event(SDL_Event* event) {
|
||||
}
|
||||
return SDL_NOTHING;
|
||||
}
|
||||
|
||||
#endif /* HAVE_SDL */
|
||||
@@ -17,8 +17,6 @@
|
||||
* along with Moonlight; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_SDL
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <SDL.h>
|
||||
|
||||
@@ -101,5 +99,3 @@ static const short keyCodes5[] = {
|
||||
|
||||
void sdlinput_init(char* mappings);
|
||||
int sdlinput_handle_event(SDL_Event* event);
|
||||
|
||||
#endif /* HAVE_SDL */
|
||||
Reference in New Issue
Block a user