diff options
Diffstat (limited to 'apps/plugins/sudoku')
-rw-r--r-- | apps/plugins/sudoku/sudoku.c | 4 | ||||
-rw-r--r-- | apps/plugins/sudoku/sudoku.h | 10 |
2 files changed, 13 insertions, 1 deletions
diff --git a/apps/plugins/sudoku/sudoku.c b/apps/plugins/sudoku/sudoku.c index 412b197ae8..acd6065fbc 100644 --- a/apps/plugins/sudoku/sudoku.c +++ b/apps/plugins/sudoku/sudoku.c | |||
@@ -122,9 +122,11 @@ static const char default_game[9][9] = | |||
122 | #define MARK_SIZE 1 /* Mark width and height */ | 122 | #define MARK_SIZE 1 /* Mark width and height */ |
123 | 123 | ||
124 | #elif (LCD_HEIGHT==110) && (LCD_WIDTH==138) \ | 124 | #elif (LCD_HEIGHT==110) && (LCD_WIDTH==138) \ |
125 | || (LCD_HEIGHT==128) && (LCD_WIDTH==128) | 125 | || (LCD_HEIGHT==128) && (LCD_WIDTH==128) \ |
126 | || (LCD_HEIGHT==160) && (LCD_WIDTH==128) | ||
126 | /* iPod Mini - 138x110, 9 cells @ 10x10 with 14 border lines */ | 127 | /* iPod Mini - 138x110, 9 cells @ 10x10 with 14 border lines */ |
127 | /* iriver H10 5-6GB - 128x128, 9 cells @ 10x10 with 14 border lines */ | 128 | /* iriver H10 5-6GB - 128x128, 9 cells @ 10x10 with 14 border lines */ |
129 | /* Philips GoGear SA9200 - 128x160, 9 cells @ 10x10 with 14 border tiles */ | ||
128 | #define MARK_OFFS 1 /* Pixels between border and mark */ | 130 | #define MARK_OFFS 1 /* Pixels between border and mark */ |
129 | #define MARK_SPACE 1 /* Pixels between two marks */ | 131 | #define MARK_SPACE 1 /* Pixels between two marks */ |
130 | #define MARK_SIZE 2 /* Mark width and height */ | 132 | #define MARK_SIZE 2 /* Mark width and height */ |
diff --git a/apps/plugins/sudoku/sudoku.h b/apps/plugins/sudoku/sudoku.h index 62bea7e9e9..1f9b1958e8 100644 --- a/apps/plugins/sudoku/sudoku.h +++ b/apps/plugins/sudoku/sudoku.h | |||
@@ -244,6 +244,16 @@ | |||
244 | #define SUDOKU_BUTTON_MENU BUTTON_MENU | 244 | #define SUDOKU_BUTTON_MENU BUTTON_MENU |
245 | #define SUDOKU_BUTTON_POSSIBLE BUTTON_VIEW | 245 | #define SUDOKU_BUTTON_POSSIBLE BUTTON_VIEW |
246 | 246 | ||
247 | #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD | ||
248 | #define SUDOKU_BUTTON_QUIT BUTTON_POWER | ||
249 | #define SUDOKU_BUTTON_UP BUTTON_UP | ||
250 | #define SUDOKU_BUTTON_DOWN BUTTON_DOWN | ||
251 | #define SUDOKU_BUTTON_LEFT BUTTON_PREV | ||
252 | #define SUDOKU_BUTTON_RIGHT BUTTON_NEXT | ||
253 | #define SUDOKU_BUTTON_TOGGLE BUTTON_PLAY | ||
254 | #define SUDOKU_BUTTON_MENU BUTTON_MENU | ||
255 | #define SUDOKU_BUTTON_POSSIBLE BUTTON_RIGHT | ||
256 | |||
247 | #elif (CONFIG_KEYPAD == ONDAVX747_PAD) | 257 | #elif (CONFIG_KEYPAD == ONDAVX747_PAD) |
248 | #define SUDOKU_BUTTON_QUIT BUTTON_POWER | 258 | #define SUDOKU_BUTTON_QUIT BUTTON_POWER |
249 | #define SUDOKU_BUTTON_MENU BUTTON_MENU | 259 | #define SUDOKU_BUTTON_MENU BUTTON_MENU |