mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
- rcsim: move enumeration to header
This commit is contained in:
@@ -44,6 +44,12 @@ sed -n '/^[[:space:]]*RC_0/,/^[[:space:]]*RC_analog_off/s/^[[:space:]]*/ /p' dri
|
||||
cat << EOF
|
||||
};
|
||||
|
||||
enum { // not defined in input.h but used like that, at least in 2.4.22
|
||||
KEY_RELEASED = 0,
|
||||
KEY_PRESSED,
|
||||
KEY_AUTOREPEAT
|
||||
};
|
||||
|
||||
struct key{
|
||||
char *name;
|
||||
unsigned long code;
|
||||
|
@@ -68,12 +68,6 @@ enum initiators
|
||||
};
|
||||
#endif
|
||||
|
||||
enum { // not defined in input.h but used like that, at least in 2.4.22
|
||||
KEY_RELEASED = 0,
|
||||
KEY_PRESSED,
|
||||
KEY_AUTOREPEAT
|
||||
};
|
||||
|
||||
#include "rcsim.h"
|
||||
|
||||
void usage(char *n){
|
||||
|
Reference in New Issue
Block a user