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 [