Sansa clip zip: make more plugins compile (lamp, wormlet, matrix)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30974 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
86e8f6ad23
commit
36d7bbbb4e
3 changed files with 18 additions and 1 deletions
|
@ -140,6 +140,12 @@
|
|||
# define LAMP_UP BUTTON_UP
|
||||
# define LAMP_DOWN BUTTON_DOWN
|
||||
|
||||
#elif CONFIG_KEYPAD == SANSA_CLIP_PAD
|
||||
# define LAMP_LEFT BUTTON_LEFT
|
||||
# define LAMP_RIGHT BUTTON_RIGHT
|
||||
# define LAMP_UP BUTTON_UP
|
||||
# define LAMP_DOWN BUTTON_DOWN
|
||||
|
||||
#else
|
||||
# error Missing key definitions for this keypad
|
||||
#endif
|
||||
|
|
|
@ -175,6 +175,12 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
#define MATRIX_SLEEP_LESS BUTTON_DOWN
|
||||
#define MATRIX_PAUSE BUTTON_PLAYPAUSE
|
||||
|
||||
#elif CONFIG_KEYPAD == SANSA_CLIP_PAD
|
||||
#define MATRIX_EXIT BUTTON_POWER
|
||||
#define MATRIX_SLEEP_MORE BUTTON_UP
|
||||
#define MATRIX_SLEEP_LESS BUTTON_DOWN
|
||||
#define MATRIX_PAUSE BUTTON_SELECT
|
||||
|
||||
#else
|
||||
#error Unsupported keypad
|
||||
#endif
|
||||
|
|
|
@ -338,7 +338,12 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64)
|
||||
#if (LCD_WIDTH == 96) && (LCD_HEIGHT == 96)
|
||||
#define FOOD_SIZE 3
|
||||
#define ARGH_SIZE 4
|
||||
#define SPEED 14
|
||||
#define MAX_WORM_SEGMENTS 128
|
||||
#elif (LCD_WIDTH == 112) && (LCD_HEIGHT == 64)
|
||||
#define FOOD_SIZE 3
|
||||
#define ARGH_SIZE 4
|
||||
#define SPEED 14
|
||||
|
|
Loading…
Reference in a new issue