fireworks: ues PLA_EXIT to exit without going through the menu.
Change-Id: I0902ce839b7eab4c7e1311ef797f19f91ebc582a
This commit is contained in:
parent
a60bc256ab
commit
3a4f8cd5d7
1 changed files with 6 additions and 3 deletions
|
@ -34,8 +34,8 @@ static const struct button_mapping *plugin_contexts[] = { pla_main_ctx };
|
|||
***/
|
||||
|
||||
/* We use PLA */
|
||||
#define BTN_MENU PLA_EXIT
|
||||
#define BTN_MENU2 PLA_CANCEL
|
||||
#define BTN_EXIT PLA_EXIT
|
||||
#define BTN_MENU PLA_CANCEL
|
||||
#define BTN_FIRE PLA_SELECT
|
||||
#define BTN_FIRE_REPEAT PLA_SELECT_REPEAT
|
||||
|
||||
|
@ -506,8 +506,11 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
|
||||
switch(button)
|
||||
{
|
||||
case BTN_EXIT: /* exit directly */
|
||||
quit_plugin = true;
|
||||
break;
|
||||
|
||||
case BTN_MENU: /* back to config menu */
|
||||
case BTN_MENU2:
|
||||
fireworks_menu();
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue