- 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
};
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;