forked from len0rd/rockbox
make the first bunch of plugins compile for the mrobe. an earlier commit broke the loading though, need to sort that out
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15282 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a3117328e9
commit
56ddddc274
12 changed files with 94 additions and 2 deletions
|
|
@ -167,6 +167,16 @@ PLUGIN_HEADER
|
|||
#define ROCKBLOX_DROP BUTTON_MODE
|
||||
#define ROCKBLOX_RESTART BUTTON_EQ
|
||||
|
||||
#elif CONFIG_KEYPAD == MROBE500_PAD
|
||||
#define ROCKBLOX_OFF BUTTON_POWER
|
||||
#define ROCKBLOX_ROTATE_RIGHT BUTTON_RC_VOL_UP
|
||||
#define ROCKBLOX_ROTATE_LEFT BUTTON_RC_VOL_DOWN
|
||||
#define ROCKBLOX_DOWN BUTTON_RC_DOWN
|
||||
#define ROCKBLOX_LEFT BUTTON_LEFT
|
||||
#define ROCKBLOX_RIGHT BUTTON_RIGHT
|
||||
#define ROCKBLOX_DROP BUTTON_RC_HEART
|
||||
#define ROCKBLOX_RESTART BUTTON_RC_MODE
|
||||
|
||||
#endif
|
||||
|
||||
#define BLOCKS_NUM 7
|
||||
|
|
@ -178,7 +188,23 @@ PLUGIN_HEADER
|
|||
|
||||
#define BOARD_HEIGHT 20
|
||||
|
||||
#if (LCD_WIDTH == 320) && (LCD_HEIGHT == 240)
|
||||
#if (LCD_WIDTH == 480) && (LCD_HEIGHT == 640)
|
||||
|
||||
#define BLOCK_WIDTH 30
|
||||
#define BLOCK_HEIGHT 30
|
||||
#define BOARD_X 14
|
||||
#define BOARD_Y 2
|
||||
#define PREVIEW_X 342
|
||||
#define PREVIEW_Y 482
|
||||
#define LABEL_X 344
|
||||
#define SCORE_Y 58
|
||||
#define LEVEL_Y 142
|
||||
#define LINES_Y 218
|
||||
#define HIGH_LABEL_X 344
|
||||
#define HIGH_SCORE_Y 326
|
||||
#define HIGH_LEVEL_Y 344
|
||||
|
||||
#elif (LCD_WIDTH == 320) && (LCD_HEIGHT == 240)
|
||||
|
||||
#define BLOCK_WIDTH 12
|
||||
#define BLOCK_HEIGHT 12
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue