1
0
Fork 0
forked from len0rd/rockbox

Adapt Pacbox for the Sansa's LCD - it was using the ipod Nano display routine before.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13494 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2007-05-26 08:48:44 +00:00
parent 31df21c4f9
commit 1186c18c3a
2 changed files with 28 additions and 6 deletions

View file

@ -89,10 +89,10 @@
#elif CONFIG_KEYPAD == SANSA_E200_PAD
#define PACMAN_UP BUTTON_RIGHT
#define PACMAN_DOWN BUTTON_LEFT
#define PACMAN_LEFT BUTTON_UP
#define PACMAN_RIGHT BUTTON_DOWN
#define PACMAN_UP BUTTON_UP
#define PACMAN_DOWN BUTTON_DOWN
#define PACMAN_LEFT BUTTON_LEFT
#define PACMAN_RIGHT BUTTON_RIGHT
#define PACMAN_1UP BUTTON_SELECT
#define PACMAN_2UP BUTTON_REC
#define PACMAN_COIN_PRE BUTTON_SELECT
@ -129,6 +129,9 @@
#elif (LCD_WIDTH >= 220)
#define XOFS ((LCD_WIDTH-(288*3/4))/2)
#define YOFS ((LCD_HEIGHT-(224*3/4))/2)
#elif (LCD_WIDTH >= 168) && (LCD_HEIGHT >= 216)
#define XOFS ((LCD_WIDTH-(224*3/4))/2)
#define YOFS ((LCD_HEIGHT-(288*3/4))/2)
#elif (LCD_WIDTH >= 144)
#define XOFS ((LCD_WIDTH-288/2)/2)
#define YOFS ((LCD_HEIGHT-224/2)/2)