Fixed a compiler error and a compiler warning

This commit is contained in:
Leon Styhre 2024-01-13 16:22:33 +01:00
parent e91512a519
commit 2fd58b3052
2 changed files with 8 additions and 2 deletions

View file

@ -22,8 +22,11 @@
#include <pugixml.hpp> #include <pugixml.hpp>
#define KEYBOARD_GUID_STRING "-1" #define KEYBOARD_GUID_STRING "-1"
#define TOUCH_GUID_STRING "-2" #define CEC_GUID_STRING "-2"
#define CEC_GUID_STRING "-3"
#if defined(__ANDROID__)
#define TOUCH_GUID_STRING "-3"
#endif
namespace namespace
{ {

View file

@ -12,7 +12,10 @@
#define ES_CORE_INPUT_MANAGER_H #define ES_CORE_INPUT_MANAGER_H
#include "CECInput.h" #include "CECInput.h"
#if defined(__ANDROID__)
#include "InputOverlay.h" #include "InputOverlay.h"
#endif
#include <SDL2/SDL.h> #include <SDL2/SDL.h>
#include <SDL2/SDL_joystick.h> #include <SDL2/SDL_joystick.h>