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/minesweeper.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'apps/plugins/minesweeper.c') diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c index f448b96fe2..8b9fe85da9 100644 --- a/apps/plugins/minesweeper.c +++ b/apps/plugins/minesweeper.c @@ -141,8 +141,16 @@ enum minesweeper_status { # define MINESWP_DISCOVER BUTTON_SELECT # define MINESWP_INFO BUTTON_MENU +#elif (CONFIG_KEYPAD == MROBE100_PAD) +# define MINESWP_UP BUTTON_UP +# define MINESWP_DOWN BUTTON_DOWN +# define MINESWP_QUIT BUTTON_POWER +# define MINESWP_TOGGLE BUTTON_DISPLAY +# define MINESWP_DISCOVER BUTTON_SELECT +# define MINESWP_INFO BUTTON_MENU + #else -# warning Missing key definitions for this keypad +#error No keymap defined! #endif /* here is a global api struct pointer. while not strictly necessary, -- cgit v1.2.3