forked from len0rd/rockbox
Sansa Clip: build plugins (FS#9578)
Use unmodified C200 keymap when possible, variation of it when not Use Archos bitmaps when possible Current problems: - Pegbox plugin shows display corruption (corruption is different in the simulator) - Bubbles plugin misses 1 or 2 bottom lines, but if we gain back these lines it occupies a too small area of the screen - Splitted screen (yellow/blue) is a bit weird in most plugins git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19252 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ddaa878097
commit
5656f8245f
59 changed files with 338 additions and 48 deletions
|
|
@ -167,12 +167,19 @@ PLUGIN_HEADER
|
|||
#define MAX_FPS 30
|
||||
|
||||
/* 8x8 bubbles (Sansa C200) */
|
||||
#elif (LCD_HEIGHT == 80) && (LCD_WIDTH == 132)
|
||||
#elif ((LCD_HEIGHT == 80) && (LCD_WIDTH == 132))
|
||||
#define XOFS 45
|
||||
#define ROW_HEIGHT 6
|
||||
#define ROW_INDENT 4
|
||||
#define MAX_FPS 30
|
||||
|
||||
/* 7x7 bubbles (Sansa Clip/m200) */
|
||||
#elif (LCD_HEIGHT == 64 && LCD_WIDTH == 128)
|
||||
#define XOFS 33
|
||||
#define ROW_HEIGHT 5
|
||||
#define ROW_INDENT 4
|
||||
#define MAX_FPS 30
|
||||
|
||||
/* 8x7 bubbles (Archos recorder, Ondio) */
|
||||
#elif (LCD_HEIGHT == 64) && (LCD_WIDTH == 112)
|
||||
#define XOFS 33
|
||||
|
|
@ -2445,7 +2452,7 @@ static int bubbles(struct game_context* bb) {
|
|||
rb->lcd_puts(0, 6, " and show high scores");
|
||||
rb->lcd_puts(0, 7, "SCROLL to aim");
|
||||
rb->lcd_puts(0, 8, " and change level");
|
||||
#elif CONFIG_KEYPAD == SANSA_C200_PAD
|
||||
#elif CONFIG_KEYPAD == SANSA_C200_PAD || CONFIG_KEYPAD == SANSA_CLIP_PAD
|
||||
rb->lcd_puts(0, 2, "PLAY to start/pause");
|
||||
rb->lcd_puts(0, 3, "SUBMENU to save/resume");
|
||||
rb->lcd_puts(0, 4, "POWER to exit");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue