diff options
author | Marcoen Hirschberg <marcoen@gmail.com> | 2006-02-24 15:42:52 +0000 |
---|---|---|
committer | Marcoen Hirschberg <marcoen@gmail.com> | 2006-02-24 15:42:52 +0000 |
commit | 338e2bbb0c6673452c64378ef9e609d5c19c7558 (patch) | |
tree | 7314096e43a7eedfd7091c39fed97c0c33400827 /apps/plugins/jewels.c | |
parent | b902428180c11def61f2d3caa2612b9f80d7d41a (diff) |
first gigabeat commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/jewels.c')
-rw-r--r-- | apps/plugins/jewels.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/apps/plugins/jewels.c b/apps/plugins/jewels.c index 9e4ab66cbf..666827668f 100644 --- a/apps/plugins/jewels.c +++ b/apps/plugins/jewels.c @@ -76,6 +76,16 @@ PLUGIN_HEADER #define BEJEWELED_SELECT BUTTON_SELECT #define BEJEWELED_CANCEL BUTTON_PLAY +#elif CONFIG_KEYPAD == GIGABEAT_PAD +#define BEJEWELED_UP BUTTON_UP +#define BEJEWELED_DOWN BUTTON_DOWN +#define BEJEWELED_LEFT BUTTON_LEFT +#define BEJEWELED_RIGHT BUTTON_RIGHT +#define BEJEWELED_QUIT BUTTON_A +#define BEJEWELED_START BUTTON_POWER +#define BEJEWELED_SELECT BUTTON_SELECT +#define BEJEWELED_RESUME BUTTON_MENU + #else #error BEJEWELED: Unsupported keypad #endif @@ -88,7 +98,7 @@ PLUGIN_HEADER #define NUM_SCORES 10 /* use 22x22 tiles (H300, iPod Color) */ -#elif (LCD_HEIGHT == 176) && (LCD_WIDTH == 220) +#elif ((LCD_HEIGHT == 176) && (LCD_WIDTH == 220)) || ((LCD_HEIGHT == 320) && (LCD_WIDTH == 240)) #define TILE_WIDTH 22 #define TILE_HEIGHT 22 #define YOFS 0 |