diff options
Diffstat (limited to 'apps/plugins/brickmania.c')
-rw-r--r-- | apps/plugins/brickmania.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c index 5cefe1bc6d..b37dd97800 100644 --- a/apps/plugins/brickmania.c +++ b/apps/plugins/brickmania.c | |||
@@ -144,8 +144,17 @@ PLUGIN_HEADER | |||
144 | #define UP BUTTON_UP | 144 | #define UP BUTTON_UP |
145 | #define DOWN BUTTON_DOWN | 145 | #define DOWN BUTTON_DOWN |
146 | 146 | ||
147 | #elif (CONFIG_KEYPAD == MROBE100_PAD) | ||
148 | |||
149 | #define QUIT BUTTON_POWER | ||
150 | #define LEFT BUTTON_LEFT | ||
151 | #define RIGHT BUTTON_RIGHT | ||
152 | #define SELECT BUTTON_SELECT | ||
153 | #define UP BUTTON_UP | ||
154 | #define DOWN BUTTON_DOWN | ||
155 | |||
147 | #else | 156 | #else |
148 | #error Unsupported keypad | 157 | #error No keymap defined! |
149 | #endif | 158 | #endif |
150 | 159 | ||
151 | #ifndef SCROLL_FWD /* targets without scroll wheel*/ | 160 | #ifndef SCROLL_FWD /* targets without scroll wheel*/ |
@@ -836,7 +845,7 @@ int game_menu(int when) | |||
836 | int button,cur=0; | 845 | int button,cur=0; |
837 | char str[10]; | 846 | char str[10]; |
838 | rb->lcd_clear_display(); | 847 | rb->lcd_clear_display(); |
839 | #if (LCD_WIDTH != 112) && (LCD_HEIGHT != 64) | 848 | #if LCD_DEPTH > 1 /* currently no background bmp for mono screens */ |
840 | rb->lcd_bitmap(brickmania_menu_bg, 0, 0, MENU_BGWIDTH, MENU_BGHEIGHT); | 849 | rb->lcd_bitmap(brickmania_menu_bg, 0, 0, MENU_BGWIDTH, MENU_BGHEIGHT); |
841 | #endif | 850 | #endif |
842 | while (true) { | 851 | while (true) { |