- rcsim: move enumeration to header

This commit is contained in:
svenhoefer
2013-10-04 10:55:53 +02:00
parent 6afcfa2b48
commit 57bcfed789
2 changed files with 6 additions and 6 deletions

View File

@@ -44,6 +44,12 @@ sed -n '/^[[:space:]]*RC_0/,/^[[:space:]]*RC_analog_off/s/^[[:space:]]*/ /p' dri
cat << EOF 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{ struct key{
char *name; char *name;
unsigned long code; unsigned long code;

View File

@@ -68,12 +68,6 @@ enum initiators
}; };
#endif #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" #include "rcsim.h"
void usage(char *n){ void usage(char *n){