diff options
Diffstat (limited to 'apps/plugins/chopper.c')
-rw-r--r-- | apps/plugins/chopper.c | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/apps/plugins/chopper.c b/apps/plugins/chopper.c index 71f62f44cc..2ab7c09d1c 100644 --- a/apps/plugins/chopper.c +++ b/apps/plugins/chopper.c | |||
@@ -105,14 +105,26 @@ Still To do: | |||
105 | 105 | ||
106 | #elif CONFIG_KEYPAD == COWOND2_PAD | 106 | #elif CONFIG_KEYPAD == COWOND2_PAD |
107 | #define QUIT BUTTON_POWER | 107 | #define QUIT BUTTON_POWER |
108 | #define ACTION BUTTON_UP | ||
109 | #define ACTION2 BUTTON_MENU | ||
110 | #define ACTIONTEXT "UP" | ||
111 | 108 | ||
112 | #else | 109 | #else |
113 | #error No keymap defined! | 110 | #error No keymap defined! |
114 | #endif | 111 | #endif |
115 | 112 | ||
113 | #ifdef HAVE_TOUCHPAD | ||
114 | #ifndef QUIT | ||
115 | #define QUIT BUTTON_TOPLEFT | ||
116 | #endif | ||
117 | #ifndef ACTION | ||
118 | #define ACTION BUTTON_BOTTOMLEFT | ||
119 | #endif | ||
120 | #ifndef ACTION2 | ||
121 | #define ACTION2 BUTTON_BOTTOMRIGHT | ||
122 | #endif | ||
123 | #ifndef ACTIONTEXT | ||
124 | #define ACTIONTEXT "BOTTOMRIGHT" | ||
125 | #endif | ||
126 | #endif | ||
127 | |||
116 | static struct plugin_api* rb; | 128 | static struct plugin_api* rb; |
117 | 129 | ||
118 | #define NUMBER_OF_BLOCKS 8 | 130 | #define NUMBER_OF_BLOCKS 8 |