summaryrefslogtreecommitdiff
path: root/apps/plugins/minesweeper.c
diff options
context:
space:
mode:
authorWill Robertson <aliask@rockbox.org>2008-02-17 12:23:02 +0000
committerWill Robertson <aliask@rockbox.org>2008-02-17 12:23:02 +0000
commit8215b34fdb7228283a055b1e4f04eb15cdf89d58 (patch)
tree6f3b3aa2098a514da27350d2d58f9c9c8ffe219b /apps/plugins/minesweeper.c
parentdf71f4c50930da1ea7121786d2ba3961d5426abf (diff)
Plugins now enabled and working for the Gigabeat S.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16323 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/minesweeper.c')
-rw-r--r--apps/plugins/minesweeper.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c
index 0fa0bbcde4..f448b96fe2 100644
--- a/apps/plugins/minesweeper.c
+++ b/apps/plugins/minesweeper.c
@@ -133,6 +133,14 @@ enum minesweeper_status {
# define MINESWP_DISCOVER BUTTON_REW
# define MINESWP_INFO (BUTTON_REW | BUTTON_PLAY)
+#elif (CONFIG_KEYPAD == GIGABEAT_S_PAD)
+# define MINESWP_UP BUTTON_UP
+# define MINESWP_DOWN BUTTON_DOWN
+# define MINESWP_QUIT BUTTON_BACK
+# define MINESWP_TOGGLE BUTTON_PLAY
+# define MINESWP_DISCOVER BUTTON_SELECT
+# define MINESWP_INFO BUTTON_MENU
+
#else
# warning Missing key definitions for this keypad
#endif