Input methods seperatly added in CMakeLists

This commit is contained in:
Iwan Timmer
2017-05-27 21:43:20 +02:00
parent 3134046bae
commit 85cc4da449
6 changed files with 14 additions and 17 deletions

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */