diff options
Diffstat (limited to 'apps/plugins/rockboy/input.h')
-rw-r--r-- | apps/plugins/rockboy/input.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/plugins/rockboy/input.h b/apps/plugins/rockboy/input.h index b57404908d..4ee1c9eb40 100644 --- a/apps/plugins/rockboy/input.h +++ b/apps/plugins/rockboy/input.h | |||
@@ -4,19 +4,15 @@ | |||
4 | * Definitions for input device stuff - buttons, keys, etc. | 4 | * Definitions for input device stuff - buttons, keys, etc. |
5 | */ | 5 | */ |
6 | 6 | ||
7 | |||
8 | #define MAX_KEYS 10 | ||
9 | |||
10 | typedef struct event_s | 7 | typedef struct event_s |
11 | { | 8 | { |
12 | int type; | 9 | int type; |
13 | int code; | 10 | int code; |
14 | } event_t; | 11 | } event_t; |
15 | 12 | ||
16 | #define EV_NONE 0 | 13 | #define EV_NONE 0 |
17 | #define EV_PRESS 1 | 14 | #define EV_PRESS 1 |
18 | #define EV_RELEASE 2 | 15 | #define EV_RELEASE 2 |
19 | #define EV_REPEAT 3 | ||
20 | 16 | ||
21 | int ev_postevent(event_t *ev) ICODE_ATTR; | 17 | int ev_postevent(event_t *ev) ICODE_ATTR; |
22 | int ev_getevent(event_t *ev) ICODE_ATTR; | 18 | int ev_getevent(event_t *ev) ICODE_ATTR; |