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
|
|
@ -165,6 +165,20 @@ PLUGIN_HEADER
|
|||
#define WORMS_TEXT "Left/Right"
|
||||
|
||||
|
||||
#elif (CONFIG_KEYPAD == SANSA_CLIP_PAD)
|
||||
|
||||
#define BTN_DIR_UP BUTTON_UP
|
||||
#define BTN_DIR_DOWN BUTTON_DOWN
|
||||
#define BTN_DIR_LEFT BUTTON_LEFT
|
||||
#define BTN_DIR_RIGHT BUTTON_RIGHT
|
||||
#define BTN_STARTPAUSE BUTTON_SELECT
|
||||
#define BTN_QUIT BUTTON_POWER
|
||||
#define BTN_STOPRESET BUTTON_HOME
|
||||
|
||||
#define PLAYERS_TEXT "Up/Down"
|
||||
#define WORMS_TEXT "Left/Right"
|
||||
|
||||
|
||||
#elif (CONFIG_KEYPAD == IRIVER_H10_PAD)
|
||||
|
||||
#define BTN_DIR_UP BUTTON_SCROLL_UP
|
||||
|
|
@ -262,6 +276,11 @@ PLUGIN_HEADER
|
|||
#define ARGH_SIZE 4
|
||||
#define SPEED 14
|
||||
#define MAX_WORM_SEGMENTS 128
|
||||
#elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 64)
|
||||
#define FOOD_SIZE 3
|
||||
#define ARGH_SIZE 4
|
||||
#define SPEED 14
|
||||
#define MAX_WORM_SEGMENTS 128
|
||||
#elif (LCD_WIDTH == 132) && (LCD_HEIGHT == 80)
|
||||
#define FOOD_SIZE 3
|
||||
#define ARGH_SIZE 4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue