diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/lamp.c | 6 | ||||
-rw-r--r-- | apps/plugins/matrix.c | 6 | ||||
-rw-r--r-- | apps/plugins/wormlet.c | 7 |
3 files changed, 18 insertions, 1 deletions
diff --git a/apps/plugins/lamp.c b/apps/plugins/lamp.c index f95516e384..7389811a59 100644 --- a/apps/plugins/lamp.c +++ b/apps/plugins/lamp.c | |||
@@ -140,6 +140,12 @@ | |||
140 | # define LAMP_UP BUTTON_UP | 140 | # define LAMP_UP BUTTON_UP |
141 | # define LAMP_DOWN BUTTON_DOWN | 141 | # define LAMP_DOWN BUTTON_DOWN |
142 | 142 | ||
143 | #elif CONFIG_KEYPAD == SANSA_CLIP_PAD | ||
144 | # define LAMP_LEFT BUTTON_LEFT | ||
145 | # define LAMP_RIGHT BUTTON_RIGHT | ||
146 | # define LAMP_UP BUTTON_UP | ||
147 | # define LAMP_DOWN BUTTON_DOWN | ||
148 | |||
143 | #else | 149 | #else |
144 | # error Missing key definitions for this keypad | 150 | # error Missing key definitions for this keypad |
145 | #endif | 151 | #endif |
diff --git a/apps/plugins/matrix.c b/apps/plugins/matrix.c index 04601f6d9e..d1a672cd96 100644 --- a/apps/plugins/matrix.c +++ b/apps/plugins/matrix.c | |||
@@ -175,6 +175,12 @@ CONFIG_KEYPAD == MROBE500_PAD | |||
175 | #define MATRIX_SLEEP_LESS BUTTON_DOWN | 175 | #define MATRIX_SLEEP_LESS BUTTON_DOWN |
176 | #define MATRIX_PAUSE BUTTON_PLAYPAUSE | 176 | #define MATRIX_PAUSE BUTTON_PLAYPAUSE |
177 | 177 | ||
178 | #elif CONFIG_KEYPAD == SANSA_CLIP_PAD | ||
179 | #define MATRIX_EXIT BUTTON_POWER | ||
180 | #define MATRIX_SLEEP_MORE BUTTON_UP | ||
181 | #define MATRIX_SLEEP_LESS BUTTON_DOWN | ||
182 | #define MATRIX_PAUSE BUTTON_SELECT | ||
183 | |||
178 | #else | 184 | #else |
179 | #error Unsupported keypad | 185 | #error Unsupported keypad |
180 | #endif | 186 | #endif |
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c index d3fbbdcf2d..bb3526991d 100644 --- a/apps/plugins/wormlet.c +++ b/apps/plugins/wormlet.c | |||
@@ -338,7 +338,12 @@ CONFIG_KEYPAD == MROBE500_PAD | |||
338 | #endif | 338 | #endif |
339 | #endif | 339 | #endif |
340 | 340 | ||
341 | #if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64) | 341 | #if (LCD_WIDTH == 96) && (LCD_HEIGHT == 96) |
342 | #define FOOD_SIZE 3 | ||
343 | #define ARGH_SIZE 4 | ||
344 | #define SPEED 14 | ||
345 | #define MAX_WORM_SEGMENTS 128 | ||
346 | #elif (LCD_WIDTH == 112) && (LCD_HEIGHT == 64) | ||
342 | #define FOOD_SIZE 3 | 347 | #define FOOD_SIZE 3 |
343 | #define ARGH_SIZE 4 | 348 | #define ARGH_SIZE 4 |
344 | #define SPEED 14 | 349 | #define SPEED 14 |