From 554d7ed9025bf629f9202c4e5c106f62853207a3 Mon Sep 17 00:00:00 2001 From: Rob Purchase Date: Sat, 22 Mar 2008 22:03:34 +0000 Subject: D2: Enable plugin building (using initial keymaps from FS#8708 by Andreas Mueller, with some tweaks). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16751 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/minesweeper.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'apps/plugins/minesweeper.c') diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c index afe7a39320..0f3de2fb74 100644 --- a/apps/plugins/minesweeper.c +++ b/apps/plugins/minesweeper.c @@ -183,6 +183,16 @@ enum minesweeper_status { # define MINESWP_DISCOVER BUTTON_RC_PLAY # define MINESWP_INFO BUTTON_RC_MENU +#elif (CONFIG_KEYPAD == COWOND2_PAD) +# define MINESWP_LEFT BUTTON_LEFT +# define MINESWP_RIGHT BUTTON_RIGHT +# define MINESWP_UP BUTTON_UP +# define MINESWP_DOWN BUTTON_DOWN +# define MINESWP_QUIT BUTTON_POWER +# define MINESWP_TOGGLE BUTTON_SELECT +# define MINESWP_DISCOVER BUTTON_MENU +# define MINESWP_INFO (BUTTON_MENU | BUTTON_SELECT) + #else #error No keymap defined! #endif -- cgit v1.2.3