diff options
Diffstat (limited to 'apps/plugins/pacbox/pacbox.h')
-rw-r--r-- | apps/plugins/pacbox/pacbox.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/apps/plugins/pacbox/pacbox.h b/apps/plugins/pacbox/pacbox.h index 77a107bec4..58838c7be3 100644 --- a/apps/plugins/pacbox/pacbox.h +++ b/apps/plugins/pacbox/pacbox.h | |||
@@ -123,6 +123,17 @@ | |||
123 | #define PACMAN_COIN (BUTTON_SELECT | BUTTON_DOWN) | 123 | #define PACMAN_COIN (BUTTON_SELECT | BUTTON_DOWN) |
124 | #define PACMAN_MENU BUTTON_HOME | 124 | #define PACMAN_MENU BUTTON_HOME |
125 | 125 | ||
126 | #elif CONFIG_KEYPAD == SANSA_CLIP_PAD | ||
127 | |||
128 | #define PACMAN_UP BUTTON_UP | ||
129 | #define PACMAN_DOWN BUTTON_DOWN | ||
130 | #define PACMAN_LEFT BUTTON_LEFT | ||
131 | #define PACMAN_RIGHT BUTTON_RIGHT | ||
132 | #define PACMAN_1UP BUTTON_SELECT | ||
133 | #define PACMAN_COIN_PRE BUTTON_SELECT | ||
134 | #define PACMAN_COIN (BUTTON_SELECT | BUTTON_DOWN) | ||
135 | #define PACMAN_MENU BUTTON_HOME | ||
136 | |||
126 | #elif CONFIG_KEYPAD == IRIVER_H10_PAD | 137 | #elif CONFIG_KEYPAD == IRIVER_H10_PAD |
127 | 138 | ||
128 | #if defined(IRIVER_H10_5GB) | 139 | #if defined(IRIVER_H10_5GB) |
@@ -418,6 +429,18 @@ | |||
418 | #define YOFS ((LCD_HEIGHT-288/2)/2) | 429 | #define YOFS ((LCD_HEIGHT-288/2)/2) |
419 | #endif | 430 | #endif |
420 | 431 | ||
432 | #elif (LCD_WIDTH >= 116) && (LCD_HEIGHT >= 90) | ||
433 | #define LCD_SCALE 40 | ||
434 | #define LCD_ROTATE 1 | ||
435 | #define XOFS ((LCD_HEIGHT-224*2/5)/2) | ||
436 | #define YOFS ((LCD_WIDTH-288*2/5)/2) | ||
437 | |||
438 | #elif (LCD_WIDTH >= 75) && (LCD_HEIGHT >= 96) | ||
439 | #define LCD_SCALE 33 | ||
440 | #define LCD_ROTATE 0 | ||
441 | #define XOFS ((LCD_HEIGHT-224/3)/2) | ||
442 | #define YOFS ((LCD_WIDTH-288/3)/2) | ||
443 | |||
421 | #else | 444 | #else |
422 | #error "unsupported screen resolution" | 445 | #error "unsupported screen resolution" |
423 | #endif | 446 | #endif |