summaryrefslogtreecommitdiff
path: root/apps/plugins/wormlet.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/wormlet.c')
-rw-r--r--apps/plugins/wormlet.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c
index 65e9d85ff4..0da929d0a3 100644
--- a/apps/plugins/wormlet.c
+++ b/apps/plugins/wormlet.c
@@ -202,6 +202,19 @@ PLUGIN_HEADER
202#define PLAYERS_TEXT "Up/Down" 202#define PLAYERS_TEXT "Up/Down"
203#define WORMS_TEXT "Left/Right" 203#define WORMS_TEXT "Left/Right"
204 204
205#elif CONFIG_KEYPAD == IAUDIO_M3_PAD
206
207#define BTN_DIR_UP BUTTON_RC_VOL_UP
208#define BTN_DIR_DOWN BUTTON_RC_VOL_DOWN
209#define BTN_DIR_LEFT BUTTON_RC_REW
210#define BTN_DIR_RIGHT BUTTON_RC_FF
211#define BTN_STARTPAUSE BUTTON_RC_PLAY
212#define BTN_QUIT BUTTON_RC_REC
213#define BTN_STOPRESET BUTTON_RC_MODE
214
215#define PLAYERS_TEXT "VOL UP/DN"
216#define WORMS_TEXT "REW/FF"
217
205#else 218#else
206#error No keymap defined! 219#error No keymap defined!
207#endif 220#endif
@@ -216,6 +229,11 @@ PLUGIN_HEADER
216#define ARGH_SIZE 4 229#define ARGH_SIZE 4
217#define SPEED 14 230#define SPEED 14
218#define MAX_WORM_SEGMENTS 128 231#define MAX_WORM_SEGMENTS 128
232#elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 96)
233#define FOOD_SIZE 3
234#define ARGH_SIZE 4
235#define SPEED 12
236#define MAX_WORM_SEGMENTS 128
219#elif (LCD_WIDTH == 138) && (LCD_HEIGHT == 110) 237#elif (LCD_WIDTH == 138) && (LCD_HEIGHT == 110)
220#define FOOD_SIZE 4 238#define FOOD_SIZE 4
221#define ARGH_SIZE 5 239#define ARGH_SIZE 5