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
|
@ -51,6 +51,8 @@ PLUGIN_HEADER
|
|||
#define GRAYSCALE_RIGHT BUTTON_RIGHT
|
||||
#define GRAYSCALE_OFF BUTTON_OFF
|
||||
|
||||
#define GRAYSCALE_RC_OFF BUTTON_RC_STOP
|
||||
|
||||
#elif (CONFIG_KEYPAD == IPOD_3G_PAD) || (CONFIG_KEYPAD == IPOD_4G_PAD)
|
||||
#define GRAYSCALE_SHIFT (BUTTON_SELECT | BUTTON_REL)
|
||||
#define GRAYSCALE_UP BUTTON_MENU
|
||||
|
@ -315,7 +317,9 @@ int main(void)
|
|||
gray_scroll_down(scroll_amount); /* scroll down */
|
||||
gray_update();
|
||||
break;
|
||||
|
||||
#ifdef GRAYSCALE_RC_OFF
|
||||
case GRAYSCALE_RC_OFF:
|
||||
#endif
|
||||
case GRAYSCALE_OFF:
|
||||
|
||||
cleanup(NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue