summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/keymaps/keymap-agptekrocker.c7
-rw-r--r--docs/CREDITS1
2 files changed, 8 insertions, 0 deletions
diff --git a/apps/keymaps/keymap-agptekrocker.c b/apps/keymaps/keymap-agptekrocker.c
index aa7c687ce4..1c13239bea 100644
--- a/apps/keymaps/keymap-agptekrocker.c
+++ b/apps/keymaps/keymap-agptekrocker.c
@@ -54,6 +54,12 @@ static const struct button_mapping button_context_standard[] = {
54}; /* button_context_standard */ 54}; /* button_context_standard */
55 55
56 56
57static const struct button_mapping button_context_mainmenu[] = {
58 { ACTION_TREE_WPS, BUTTON_POWER, BUTTON_NONE },
59
60 LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_TREE),
61}; /* button_context_mainmenu as with sansa clip mapping - "back" button returns you to WPS */
62
57static const struct button_mapping button_context_wps[] = { 63static const struct button_mapping button_context_wps[] = {
58/* { ACTION_WPS_BROWSE, BUTTON_UP|BUTTON_REPEAT, BUTTON_UP }, */ 64/* { ACTION_WPS_BROWSE, BUTTON_UP|BUTTON_REPEAT, BUTTON_UP }, */
59 { ACTION_WPS_PLAY, BUTTON_SELECT|BUTTON_REL, BUTTON_SELECT }, 65 { ACTION_WPS_PLAY, BUTTON_SELECT|BUTTON_REL, BUTTON_SELECT },
@@ -223,6 +229,7 @@ const struct button_mapping* get_context_mapping(int context)
223 return button_context_wps; 229 return button_context_wps;
224 230
225 case CONTEXT_MAINMENU: 231 case CONTEXT_MAINMENU:
232 return button_context_mainmenu;
226 case CONTEXT_TREE: 233 case CONTEXT_TREE:
227 case CONTEXT_LIST: 234 case CONTEXT_LIST:
228 return button_context_list; 235 return button_context_list;
diff --git a/docs/CREDITS b/docs/CREDITS
index 5bf01f50db..fd598a4127 100644
--- a/docs/CREDITS
+++ b/docs/CREDITS
@@ -690,6 +690,7 @@ Johannes König
690Alexander Drammen 690Alexander Drammen
691Kei Miyamoto 691Kei Miyamoto
692James D. Smith 692James D. Smith
693Howard Richardson
693 694
694The libmad team 695The libmad team
695The wavpack team 696The wavpack team