summaryrefslogtreecommitdiff
path: root/apps/plugins/sudoku
diff options
context:
space:
mode:
authorRobert Menes <rmenes@rockbox.org>2009-12-03 23:13:45 +0000
committerRobert Menes <rmenes@rockbox.org>2009-12-03 23:13:45 +0000
commit29d20d806838ca3a3691f723bdb0eaeefb480c5d (patch)
treee27b1b07b2c9fca77a5767c701dce06db7ee7106 /apps/plugins/sudoku
parentf6a92b8e718a998b0a673ba39a01de90e1c73c82 (diff)
downloadrockbox-29d20d806838ca3a3691f723bdb0eaeefb480c5d.tar.gz
rockbox-29d20d806838ca3a3691f723bdb0eaeefb480c5d.zip
Another round of plugin keymaps for the Philips GoGear SA9200.
Just a few more to go... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23838 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/sudoku')
-rw-r--r--apps/plugins/sudoku/sudoku.c4
-rw-r--r--apps/plugins/sudoku/sudoku.h10
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