diff --git a/src/gui/osdlang_setup.cpp b/src/gui/osdlang_setup.cpp index c40541dc8..6b21fba00 100644 --- a/src/gui/osdlang_setup.cpp +++ b/src/gui/osdlang_setup.cpp @@ -178,7 +178,6 @@ void COsdLangSetup::showLanguageSetup(CMenuWidget *osdl_setup) { struct dirent **namelist; int n; - // printf("scanning locale dir now....(perhaps)\n"); const char *pfad[] = {DATADIR "/neutrino/locale", CONFIGDIR "/locale"}; osdl_setup->addIntroItems(); diff --git a/src/rcsim.c b/src/rcsim.c index c274f6c4b..2ae56a39c 100644 --- a/src/rcsim.c +++ b/src/rcsim.c @@ -39,8 +39,10 @@ /* if you want use HAVE_XX_HARDWARE, better include config.h :-) */ #include "config.h" -#ifdef HAVE_DBOX_HARDWARE +#if defined(HAVE_DBOX_HARDWARE) #define EVENTDEV "/dev/input/event0" +#elif defined (HAVE_COOL_HARDWARE) +#define EVENTDEV "/dev/input/input0" #else /* dreambox and tripledragon do not use a "normal" input device, so we cannot (ab-)use the event repeating function of it. use the neutrino socket instead. */ @@ -73,7 +75,7 @@ enum initiators void usage(char *n){ unsigned int keynum = sizeof(keyname)/sizeof(struct key); unsigned int i; -#ifdef HAVE_DBOX_HARDWARE +#if defined (EVENTDEV) printf ("rcsim v1.1\nUsage: %s [