From c4f0851076a5e51e887ad8d43606f91f711d598c Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Tue, 24 Mar 2020 22:25:05 +0100 Subject: [PATCH] rcinput.cpp: add rc_mode for osmio4k Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/67c053a6fd7065c16554f78944799a3f95eed465 Author: Markus Volk Date: 2020-03-24 (Tue, 24 Mar 2020) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/driver/rcinput.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/driver/rcinput.cpp b/src/driver/rcinput.cpp index 5a05bb179..76bcb5e6e 100644 --- a/src/driver/rcinput.cpp +++ b/src/driver/rcinput.cpp @@ -1753,9 +1753,12 @@ int CRCInput::translate(int code) case KEY_CHANNELDOWN: return RC_page_down; #if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE -#if BOXMODEL_HD51 || BOXMODEL_HD60 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7 || BOXMODEL_OSMIO4K || BOXMODEL_OSMIO4KPLUS +#if BOXMODEL_HD51 || BOXMODEL_HD60 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7 case KEY_VIDEO: return RC_favorites; +#elif BOXMODEL_OSMIO4K || BOXMODEL_OSMIO4KPLUS + case KEY_VIDEO: + return RC_mode; #endif case KEY_SWITCHVIDEOMODE: return RC_mode;