From 0e027bd90c4f0c2aa42c087a1957b42a58e93270 Mon Sep 17 00:00:00 2001 From: Kevin Ferrare Date: Fri, 30 Jun 2006 16:43:47 +0000 Subject: 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 --- apps/plugins/wormlet.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/plugins/wormlet.c') diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c index e4efa8ff28..6a4a5d28f8 100644 --- a/apps/plugins/wormlet.c +++ b/apps/plugins/wormlet.c @@ -83,6 +83,8 @@ PLUGIN_HEADER #define BTN_QUIT (BUTTON_SELECT|BUTTON_MENU) #define BTN_STOPRESET (BUTTON_SELECT|BUTTON_PLAY) +#define BTN_RC_QUIT BUTTON_RC_STOP + #define PLAYERS_TEXT "Menu/Play" #define WORMS_TEXT "Left/Right" @@ -1487,6 +1489,9 @@ static int run(void) else paused = true; break; +#ifdef BTN_RC_QUIT + case BTN_RC_QUIT: +#endif case BTN_QUIT: return 2; /* back to menu */ break; -- cgit v1.2.3