summaryrefslogtreecommitdiff
path: root/apps/plugins/sudoku
diff options
context:
space:
mode:
authorMark Arigo <markarigo@gmail.com>2009-01-24 22:41:55 +0000
committerMark Arigo <markarigo@gmail.com>2009-01-24 22:41:55 +0000
commit2490262eee17c3dcff0a39fb4011662dfdfc4478 (patch)
tree2c68f5903b36e52718f5be53d8504af3e0e03c0c /apps/plugins/sudoku
parent74b97fa139339b62813d94610f8d7710357beb08 (diff)
Plugins for the Philips HDD1630. The keymaps are largely untested on the device (patches welcome).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19846 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/sudoku')
-rw-r--r--apps/plugins/sudoku/sudoku.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/sudoku/sudoku.h b/apps/plugins/sudoku/sudoku.h
index 2b3e18f401..1191f37db5 100644
--- a/apps/plugins/sudoku/sudoku.h
+++ b/apps/plugins/sudoku/sudoku.h
@@ -245,6 +245,16 @@
#define SUDOKU_BUTTON_MENU BUTTON_MENU
#define SUDOKU_BUTTON_POSSIBLE BUTTON_PLAY
+#elif CONFIG_KEYPAD == PHILIPS_HDD1630_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_TOGGLE BUTTON_SELECT
+#define SUDOKU_BUTTON_MENU BUTTON_MENU
+#define SUDOKU_BUTTON_POSSIBLE BUTTON_VIEW
+
#else
#error No keymap defined!
#endif