diff --git a/src/create_rcsim_h.sh b/src/create_rcsim_h.sh index 1884e43d4..6d83ec155 100644 --- a/src/create_rcsim_h.sh +++ b/src/create_rcsim_h.sh @@ -9,6 +9,10 @@ cat << EOF // rcsim.h - automatically created from driver/rcinput.h +#ifndef KEY_NONEXISTING +#define KEY_NONEXISTING 0x0 +#endif + #ifndef KEY_GAMES #define KEY_GAMES 0x1a1 /* Media Select Games */ #endif diff --git a/src/driver/rcinput.h b/src/driver/rcinput.h index 6dd3ba52c..4b6ac8306 100644 --- a/src/driver/rcinput.h +++ b/src/driver/rcinput.h @@ -54,6 +54,10 @@ #include +#ifndef KEY_NONEXISTING +#define KEY_NONEXISTING 0x0 +#endif + #ifndef KEY_OK #define KEY_OK 0x160 #endif @@ -225,7 +229,7 @@ class CRCInput RC_radio = KEY_RADIO, RC_text = KEY_TEXT, #if BOXMODEL_VUSOLO4K || BOXMODEL_VUDUO4K || BOXMODEL_VUULTIMO4K || BOXMODEL_VUZERO4K || BOXMODEL_VUDUO - RC_info = 0xFFFE, + RC_info = KEY_NONEXISTING, RC_epg = KEY_INFO, #else RC_info = KEY_INFO,