From c50e88a0fc1b6eac07a98f42fb50e3b3020d5fd0 Mon Sep 17 00:00:00 2001 From: BPanther Date: Fri, 21 Jun 2024 00:48:35 +0200 Subject: [PATCH] fix dm rc --- src/nhttpd/tuxboxapi/controlapi.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/nhttpd/tuxboxapi/controlapi.cpp b/src/nhttpd/tuxboxapi/controlapi.cpp index b9d502a83..14b102de4 100644 --- a/src/nhttpd/tuxboxapi/controlapi.cpp +++ b/src/nhttpd/tuxboxapi/controlapi.cpp @@ -66,15 +66,11 @@ extern CBouquetManager *g_bouquetManager; #define RC_DEVICE "/dev/input/event0" #define RC_DEVICE_FALLBACK "/dev/input/event1" -#elif BOXMODEL_H7 || BOXMODEL_DM8000 +#elif BOXMODEL_H7 #define RC_DEVICE "/dev/input/event2" #define RC_DEVICE_FALLBACK "/dev/input/event1" -//#elif BOXMODEL_DM820 -//#define RC_DEVICE "/dev/input/event3" -//#define RC_DEVICE_FALLBACK "/dev/input/event0" - -#elif BOXMODEL_DM7080 || BOXMODEL_DM820 +#elif BOXMODEL_DM8000 || BOXMODEL_DM7080 || BOXMODEL_DM820 || BOXMODEL_DM900 || BOXMODEL_DM920 #define RC_DEVICE "/dev/input/event1" #define RC_DEVICE_FALLBACK "/dev/input/event4"