diff options
Diffstat (limited to 'apps/plugins/wormlet.c')
-rw-r--r-- | apps/plugins/wormlet.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c index d872e8be19..95ccc4a9f2 100644 --- a/apps/plugins/wormlet.c +++ b/apps/plugins/wormlet.c | |||
@@ -99,6 +99,19 @@ PLUGIN_HEADER | |||
99 | #define PLAYERS_TEXT "Up/Down" | 99 | #define PLAYERS_TEXT "Up/Down" |
100 | #define WORMS_TEXT "Left/Right" | 100 | #define WORMS_TEXT "Left/Right" |
101 | 101 | ||
102 | #elif (CONFIG_KEYPAD == GIGABEAT_PAD) | ||
103 | |||
104 | #define BTN_DIR_UP BUTTON_UP | ||
105 | #define BTN_DIR_DOWN BUTTON_DOWN | ||
106 | #define BTN_DIR_LEFT BUTTON_LEFT | ||
107 | #define BTN_DIR_RIGHT BUTTON_RIGHT | ||
108 | #define BTN_STARTPAUSE BUTTON_SELECT | ||
109 | #define BTN_QUIT BUTTON_A | ||
110 | #define BTN_STOPRESET BUTTON_POWER | ||
111 | |||
112 | #define PLAYERS_TEXT "Up/Down" | ||
113 | #define WORMS_TEXT "Left/Right" | ||
114 | |||
102 | #endif | 115 | #endif |
103 | 116 | ||
104 | #if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64) | 117 | #if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64) |
@@ -131,6 +144,11 @@ PLUGIN_HEADER | |||
131 | #define ARGH_SIZE 8 | 144 | #define ARGH_SIZE 8 |
132 | #define SPEED 4 | 145 | #define SPEED 4 |
133 | #define MAX_WORM_SEGMENTS 512 | 146 | #define MAX_WORM_SEGMENTS 512 |
147 | #elif (LCD_WIDTH == 240) && (LCD_HEIGHT == 320) | ||
148 | #define FOOD_SIZE 7 | ||
149 | #define ARGH_SIZE 8 | ||
150 | #define SPEED 4 | ||
151 | #define MAX_WORM_SEGMENTS 512 | ||
134 | #endif | 152 | #endif |
135 | 153 | ||
136 | #ifdef HAVE_LCD_COLOR | 154 | #ifdef HAVE_LCD_COLOR |