diff options
Diffstat (limited to 'apps/plugins/sudoku')
-rw-r--r-- | apps/plugins/sudoku/sudoku.c | 8 | ||||
-rw-r--r-- | apps/plugins/sudoku/sudoku.h | 14 |
2 files changed, 22 insertions, 0 deletions
diff --git a/apps/plugins/sudoku/sudoku.c b/apps/plugins/sudoku/sudoku.c index 9485f2de23..1d548ace6d 100644 --- a/apps/plugins/sudoku/sudoku.c +++ b/apps/plugins/sudoku/sudoku.c | |||
@@ -108,6 +108,14 @@ static const char default_game[9][9] = | |||
108 | #define CELL_HEIGHT 6 | 108 | #define CELL_HEIGHT 6 |
109 | #define SMALL_BOARD | 109 | #define SMALL_BOARD |
110 | 110 | ||
111 | #elif ((LCD_HEIGHT==80) && (LCD_WIDTH==132)) | ||
112 | /* C200, 9 cells @ 8x8 with 8 border lines */ | ||
113 | |||
114 | /* Internal dimensions of a cell */ | ||
115 | #define CELL_WIDTH 8 | ||
116 | #define CELL_HEIGHT 8 | ||
117 | #define SMALL_BOARD | ||
118 | |||
111 | #elif (LCD_HEIGHT==110) && (LCD_WIDTH==138) | 119 | #elif (LCD_HEIGHT==110) && (LCD_WIDTH==138) |
112 | /* iPod Mini - 138x110, 9 cells @ 10x10 with 14 border lines */ | 120 | /* iPod Mini - 138x110, 9 cells @ 10x10 with 14 border lines */ |
113 | 121 | ||
diff --git a/apps/plugins/sudoku/sudoku.h b/apps/plugins/sudoku/sudoku.h index d41c0b879d..f888bd7090 100644 --- a/apps/plugins/sudoku/sudoku.h +++ b/apps/plugins/sudoku/sudoku.h | |||
@@ -122,6 +122,20 @@ | |||
122 | #define SUDOKU_BUTTON_MENU BUTTON_SELECT | 122 | #define SUDOKU_BUTTON_MENU BUTTON_SELECT |
123 | #define SUDOKU_BUTTON_POSSIBLE BUTTON_REC | 123 | #define SUDOKU_BUTTON_POSSIBLE BUTTON_REC |
124 | 124 | ||
125 | #elif (CONFIG_KEYPAD == SANSA_C200_PAD) | ||
126 | #define SUDOKU_BUTTON_QUIT_PRE BUTTON_POWER | ||
127 | #define SUDOKU_BUTTON_QUIT (BUTTON_POWER | BUTTON_REPEAT) | ||
128 | #define SUDOKU_BUTTON_UP BUTTON_UP | ||
129 | #define SUDOKU_BUTTON_DOWN BUTTON_DOWN | ||
130 | #define SUDOKU_BUTTON_LEFT BUTTON_LEFT | ||
131 | #define SUDOKU_BUTTON_RIGHT BUTTON_RIGHT | ||
132 | #define SUDOKU_BUTTON_TOGGLEBACK BUTTON_VOL_DOWN | ||
133 | #define SUDOKU_BUTTON_TOGGLE BUTTON_VOL_UP | ||
134 | #define SUDOKU_BUTTON_ALTTOGGLE BUTTON_SELECT | ||
135 | #define SUDOKU_BUTTON_MENU_PRE BUTTON_POWER | ||
136 | #define SUDOKU_BUTTON_MENU (BUTTON_POWER | BUTTON_REL) | ||
137 | #define SUDOKU_BUTTON_POSSIBLE BUTTON_REC | ||
138 | |||
125 | #elif | 139 | #elif |
126 | #error SUDOKU: Unsupported keypad | 140 | #error SUDOKU: Unsupported keypad |
127 | #endif | 141 | #endif |