From 29d20d806838ca3a3691f723bdb0eaeefb480c5d Mon Sep 17 00:00:00 2001 From: Robert Menes Date: Thu, 3 Dec 2009 23:13:45 +0000 Subject: 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 --- apps/plugins/sudoku/sudoku.c | 4 +++- apps/plugins/sudoku/sudoku.h | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'apps/plugins/sudoku') 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] = #define MARK_SIZE 1 /* Mark width and height */ #elif (LCD_HEIGHT==110) && (LCD_WIDTH==138) \ - || (LCD_HEIGHT==128) && (LCD_WIDTH==128) + || (LCD_HEIGHT==128) && (LCD_WIDTH==128) \ + || (LCD_HEIGHT==160) && (LCD_WIDTH==128) /* iPod Mini - 138x110, 9 cells @ 10x10 with 14 border lines */ /* iriver H10 5-6GB - 128x128, 9 cells @ 10x10 with 14 border lines */ +/* Philips GoGear SA9200 - 128x160, 9 cells @ 10x10 with 14 border tiles */ #define MARK_OFFS 1 /* Pixels between border and mark */ #define MARK_SPACE 1 /* Pixels between two marks */ #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 @@ #define SUDOKU_BUTTON_MENU BUTTON_MENU #define SUDOKU_BUTTON_POSSIBLE BUTTON_VIEW +#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD +#define SUDOKU_BUTTON_QUIT BUTTON_POWER +#define SUDOKU_BUTTON_UP BUTTON_UP +#define SUDOKU_BUTTON_DOWN BUTTON_DOWN +#define SUDOKU_BUTTON_LEFT BUTTON_PREV +#define SUDOKU_BUTTON_RIGHT BUTTON_NEXT +#define SUDOKU_BUTTON_TOGGLE BUTTON_PLAY +#define SUDOKU_BUTTON_MENU BUTTON_MENU +#define SUDOKU_BUTTON_POSSIBLE BUTTON_RIGHT + #elif (CONFIG_KEYPAD == ONDAVX747_PAD) #define SUDOKU_BUTTON_QUIT BUTTON_POWER #define SUDOKU_BUTTON_MENU BUTTON_MENU -- cgit v1.2.3