mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +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
|
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;
|
||||||
|
@@ -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){
|
||||||
|
Reference in New Issue
Block a user