summaryrefslogtreecommitdiff
path: root/apps/plugins/sudoku
diff options
context:
space:
mode:
authorRobert Kukla <roolku@rockbox.org>2008-03-01 22:55:09 +0000
committerRobert Kukla <roolku@rockbox.org>2008-03-01 22:55:09 +0000
commitd6c8b57b507658ef2e45f73d1f00e9ea88ac8d34 (patch)
tree2c3e35f7d1f705c08d963a21ede3b42f1bee5019 /apps/plugins/sudoku
parent9876d91e351f457bac7f5ea3459dc12ef021078a (diff)
downloadrockbox-d6c8b57b507658ef2e45f73d1f00e9ea88ac8d34.tar.gz
rockbox-d6c8b57b507658ef2e45f73d1f00e9ea88ac8d34.zip
M:Robe 100: add button definition/bitmaps to plugins and enable compilation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16469 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/sudoku')
-rw-r--r--apps/plugins/sudoku/sudoku.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/apps/plugins/sudoku/sudoku.h b/apps/plugins/sudoku/sudoku.h
index 87c0f692b5..78d1b73e63 100644
--- a/apps/plugins/sudoku/sudoku.h
+++ b/apps/plugins/sudoku/sudoku.h
@@ -150,8 +150,18 @@
150#define SUDOKU_BUTTON_MENU (BUTTON_POWER | BUTTON_REL) 150#define SUDOKU_BUTTON_MENU (BUTTON_POWER | BUTTON_REL)
151#define SUDOKU_BUTTON_POSSIBLE BUTTON_RC_HEART 151#define SUDOKU_BUTTON_POSSIBLE BUTTON_RC_HEART
152 152
153#elif (CONFIG_KEYPAD == MROBE100_PAD)
154#define SUDOKU_BUTTON_QUIT BUTTON_POWER
155#define SUDOKU_BUTTON_UP BUTTON_UP
156#define SUDOKU_BUTTON_DOWN BUTTON_DOWN
157#define SUDOKU_BUTTON_LEFT BUTTON_LEFT
158#define SUDOKU_BUTTON_RIGHT BUTTON_RIGHT
159#define SUDOKU_BUTTON_TOGGLE BUTTON_SELECT
160#define SUDOKU_BUTTON_MENU BUTTON_MENU
161#define SUDOKU_BUTTON_POSSIBLE BUTTON_DISPLAY
162
153#else 163#else
154 #error SUDOKU: Unsupported keypad 164#error No keymap defined!
155#endif 165#endif
156 166
157struct sudoku_state_t { 167struct sudoku_state_t {