From 594b6e2b496e69ca843b21bf04810bdb919099a7 Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Tue, 4 Aug 2009 03:08:32 +0000 Subject: Commit FS#10251. Plugins for the YH-820, YH-920, and YH-925 by Jens Erdmann with improvements and bitmap graphics by me. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22149 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 47be0ea309..a1190d5a51 100644 --- a/apps/plugins/minesweeper.c +++ b/apps/plugins/minesweeper.c @@ -227,6 +227,16 @@ enum minesweeper_status { #elif (CONFIG_KEYPAD == ONDAVX747_PAD) || CONFIG_KEYPAD == MROBE500_PAD # define MINESWP_QUIT BUTTON_POWER +#elif (CONFIG_KEYPAD == SAMSUNG_YH_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_REC +# define MINESWP_TOGGLE BUTTON_PLAY +# define MINESWP_DISCOVER BUTTON_REW +# define MINESWP_INFO BUTTON_FFWD + #else #error No keymap defined! #endif -- cgit v1.2.3