mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-19 01:52:35 -05:00
hitiet ma8/ma9: add in keymaps for all plugins
Largely guesswork. Change-Id: I8ab8d36de4bbdcf25dcf7d3442266bfb0a370b6f
This commit is contained in:
parent
0b5f1b68e6
commit
8b01f939d8
49 changed files with 511 additions and 15 deletions
|
|
@ -365,6 +365,14 @@ CONFIG_KEYPAD == SANSA_M200_PAD
|
|||
#elif CONFIG_KEYPAD == SHANLING_Q1_PAD
|
||||
#define QUIT BUTTON_POWER
|
||||
|
||||
#elif CONFIG_KEYPAD == MA_PAD
|
||||
#define QUIT BUTTON_BACK
|
||||
#define LEFT BUTTON_LEFT
|
||||
#define RIGHT BUTTON_RIGHT
|
||||
#define SELECT BUTTON_PLAY
|
||||
#define UP BUTTON_UP
|
||||
#define DOWN BUTTON_DOWN
|
||||
|
||||
#else
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
@ -1685,7 +1693,7 @@ static void error_newround(const char * message)
|
|||
rb->splash(HZ*3,"Some error happened, so the current balls will be killed.");
|
||||
rb->splashf(HZ*3,"The reason is: %s",message);
|
||||
rb->splash(HZ*3,"Don't worry, it's my fault, you won't lose any life for this. :)");
|
||||
newround();
|
||||
newround();
|
||||
}
|
||||
|
||||
static int brickmania_game_loop(void)
|
||||
|
|
@ -2538,7 +2546,7 @@ static int brickmania_game_loop(void)
|
|||
resume = true;
|
||||
return 0;
|
||||
break;
|
||||
|
||||
|
||||
/* MI: added suicide button in case the ball gets stuck or
|
||||
whatever */
|
||||
case SUICIDE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue