summaryrefslogtreecommitdiff
path: root/apps/plugins/sudoku/sudoku.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-04-10 17:28:26 +0000
committerThomas Martitz <kugel@rockbox.org>2009-04-10 17:28:26 +0000
commite6cbad69745455d0ad23004c609a909a2cdabcf4 (patch)
treef512eab0f41420969f750138b76b46931bf57956 /apps/plugins/sudoku/sudoku.h
parentec797ed62225a5f78f37e9342ac6e183332f795b (diff)
FS#10075 - FUZE: QUIT Plugin by selecting BUTTON_HOME by Johannes Schwarz. Updates the plugin keymap to use Long Home to exit plugins to be more inline with the core keymap.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20680 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/sudoku/sudoku.h')
-rw-r--r--apps/plugins/sudoku/sudoku.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/plugins/sudoku/sudoku.h b/apps/plugins/sudoku/sudoku.h
index 1524416342..0a2197c1f0 100644
--- a/apps/plugins/sudoku/sudoku.h
+++ b/apps/plugins/sudoku/sudoku.h
@@ -135,15 +135,15 @@
#define SUDOKU_BUTTON_POSSIBLE BUTTON_REC
#elif (CONFIG_KEYPAD == SANSA_FUZE_PAD)
-#define SUDOKU_BUTTON_QUIT BUTTON_POWER
-#define SUDOKU_BUTTON_UP BUTTON_UP
-#define SUDOKU_BUTTON_DOWN BUTTON_DOWN
-#define SUDOKU_BUTTON_LEFT BUTTON_LEFT
-#define SUDOKU_BUTTON_RIGHT BUTTON_RIGHT
+#define SUDOKU_BUTTON_QUIT (BUTTON_HOME|BUTTON_REPEAT)
+#define SUDOKU_BUTTON_UP BUTTON_UP
+#define SUDOKU_BUTTON_DOWN BUTTON_DOWN
+#define SUDOKU_BUTTON_LEFT BUTTON_LEFT
+#define SUDOKU_BUTTON_RIGHT BUTTON_RIGHT
#define SUDOKU_BUTTON_TOGGLEBACK BUTTON_SCROLL_BACK
-#define SUDOKU_BUTTON_TOGGLE BUTTON_SCROLL_FWD
-#define SUDOKU_BUTTON_MENU BUTTON_SELECT
-#define SUDOKU_BUTTON_POSSIBLE BUTTON_HOME
+#define SUDOKU_BUTTON_TOGGLE BUTTON_SCROLL_FWD
+#define SUDOKU_BUTTON_MENU (BUTTON_POWER | BUTTON_REL)
+#define SUDOKU_BUTTON_POSSIBLE (BUTTON_SELECT | BUTTON_UP)
#elif (CONFIG_KEYPAD == SANSA_C200_PAD)
#define SUDOKU_BUTTON_QUIT_PRE BUTTON_POWER