neutrino: add support for the SPARK frontpanel buttons

This commit is contained in:
Stefan Seyfried
2012-03-19 19:42:19 +01:00
parent 9221807a7c
commit 04ba38f14f
2 changed files with 12 additions and 1 deletions

View File

@@ -137,7 +137,11 @@ class CRCInput
int fd_pipe_high_priority[2];
int fd_pipe_low_priority[2];
int fd_gamerc;
#ifdef HAVE_SPARK_HARDWARE
#define NUMBER_OF_EVENT_DEVICES 2
#else
#define NUMBER_OF_EVENT_DEVICES 1
#endif
int fd_rc[NUMBER_OF_EVENT_DEVICES];
int fd_keyb;
int fd_event;