forked from len0rd/rockbox
To avoid having to use the main unit when accidentally launching a plugin from the remote, plugins now support remote quit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10157 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7bbf53eae5
commit
0e027bd90c
39 changed files with 276 additions and 26 deletions
|
@ -70,6 +70,8 @@ extern const fb_data sokoban_tiles[];
|
|||
#define SOKOBAN_LEVEL_DOWN BUTTON_REC
|
||||
#define SOKOBAN_LEVEL_REPEAT BUTTON_SELECT
|
||||
|
||||
#define SOKOBAN_RC_QUIT BUTTON_RC_STOP
|
||||
|
||||
#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || \
|
||||
(CONFIG_KEYPAD == IPOD_3G_PAD)
|
||||
#define SOKOBAN_UP BUTTON_MENU
|
||||
|
@ -563,6 +565,9 @@ static bool sokoban_loop(void)
|
|||
|
||||
switch(button)
|
||||
{
|
||||
#ifdef SOKOBAN_RC_QUIT
|
||||
case SOKOBAN_RC_QUIT:
|
||||
#endif
|
||||
case SOKOBAN_QUIT:
|
||||
/* get out of here */
|
||||
#ifdef HAVE_LCD_COLOR /* reset background color */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue