1
0
Fork 0
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:
Kevin Ferrare 2006-06-30 16:43:47 +00:00
parent 7bbf53eae5
commit 0e027bd90c
39 changed files with 276 additions and 26 deletions

View file

@ -49,6 +49,8 @@ static unsigned char draw_buffer[8*LCD_WIDTH];
#define FIRE_INCREASE_MULT BUTTON_UP
#define FIRE_DECREASE_MULT BUTTON_DOWN
#define FIRE_RC_QUIT BUTTON_RC_STOP
#elif CONFIG_KEYPAD == RECORDER_PAD
#define FIRE_QUIT BUTTON_OFF
#define FIRE_SWITCH_FLAMES_TYPE BUTTON_ON
@ -357,6 +359,9 @@ int main(void)
switch(button)
{
#ifdef FIRE_RC_QUIT
case FIRE_RC_QUIT :
#endif
case(FIRE_QUIT):
cleanup(NULL);
return PLUGIN_OK;