From d6c8b57b507658ef2e45f73d1f00e9ea88ac8d34 Mon Sep 17 00:00:00 2001 From: Robert Kukla Date: Sat, 1 Mar 2008 22:55:09 +0000 Subject: M:Robe 100: add button definition/bitmaps to plugins and enable compilation git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16469 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/brickmania.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'apps/plugins/brickmania.c') 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 #define UP BUTTON_UP #define DOWN BUTTON_DOWN +#elif (CONFIG_KEYPAD == MROBE100_PAD) + +#define QUIT BUTTON_POWER +#define LEFT BUTTON_LEFT +#define RIGHT BUTTON_RIGHT +#define SELECT BUTTON_SELECT +#define UP BUTTON_UP +#define DOWN BUTTON_DOWN + #else -#error Unsupported keypad +#error No keymap defined! #endif #ifndef SCROLL_FWD /* targets without scroll wheel*/ @@ -836,7 +845,7 @@ int game_menu(int when) int button,cur=0; char str[10]; rb->lcd_clear_display(); -#if (LCD_WIDTH != 112) && (LCD_HEIGHT != 64) +#if LCD_DEPTH > 1 /* currently no background bmp for mono screens */ rb->lcd_bitmap(brickmania_menu_bg, 0, 0, MENU_BGWIDTH, MENU_BGHEIGHT); #endif while (true) { -- cgit v1.2.3