diff options
author | Giovanni Tataranni <g.tataranni@gmail.com> | 2015-02-15 18:24:52 +0100 |
---|---|---|
committer | Giovanni Tataranni <g.tataranni@gmail.com> | 2015-02-15 18:24:52 +0100 |
commit | 0f34c51522ba7cfe957aca8439dc82c7bb6920c7 (patch) | |
tree | 972307d22001c11fb2df661fd565071f811d5614 | |
parent | 8a078d7853c6f994b33496198d1077a38fcd5e4b (diff) | |
download | rockbox-0f34c51522ba7cfe957aca8439dc82c7bb6920c7.tar.gz rockbox-0f34c51522ba7cfe957aca8439dc82c7bb6920c7.zip |
Creative ZEN: context menu now accessible with 'menu' key
Change-Id: I9b3cdce2ead0feee4a38b715a61a4a6cd57f8f54
-rw-r--r-- | apps/keymaps/keymap-zen.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/keymaps/keymap-zen.c b/apps/keymaps/keymap-zen.c index dda12959d8..d2eeca8d6d 100644 --- a/apps/keymaps/keymap-zen.c +++ b/apps/keymaps/keymap-zen.c | |||
@@ -65,6 +65,9 @@ static const struct button_mapping button_context_standard[] = { | |||
65 | 65 | ||
66 | { ACTION_STD_CONTEXT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_SELECT }, | 66 | { ACTION_STD_CONTEXT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_SELECT }, |
67 | { ACTION_STD_CONTEXT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_RIGHT }, | 67 | { ACTION_STD_CONTEXT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_RIGHT }, |
68 | #ifdef ZEN_HAS_CONTROL | ||
69 | { ACTION_STD_CONTEXT, BUTTON_MENU, BUTTON_NONE }, | ||
70 | #endif | ||
68 | 71 | ||
69 | { ACTION_STD_CANCEL, BUTTON_BACK, BUTTON_NONE }, | 72 | { ACTION_STD_CANCEL, BUTTON_BACK, BUTTON_NONE }, |
70 | { ACTION_STD_CANCEL, BUTTON_BACK|BUTTON_REPEAT, BUTTON_NONE }, | 73 | { ACTION_STD_CANCEL, BUTTON_BACK|BUTTON_REPEAT, BUTTON_NONE }, |
@@ -81,6 +84,9 @@ static const struct button_mapping button_context_wps[] = { | |||
81 | { ACTION_WPS_STOP, BUTTON_PLAYPAUSE|BUTTON_REPEAT, BUTTON_NONE }, | 84 | { ACTION_WPS_STOP, BUTTON_PLAYPAUSE|BUTTON_REPEAT, BUTTON_NONE }, |
82 | 85 | ||
83 | { ACTION_WPS_CONTEXT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE }, | 86 | { ACTION_WPS_CONTEXT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE }, |
87 | #ifdef ZEN_HAS_CONTROL | ||
88 | { ACTION_WPS_CONTEXT, BUTTON_MENU, BUTTON_NONE }, | ||
89 | #endif | ||
84 | 90 | ||
85 | { ACTION_WPS_SKIPNEXT, BUTTON_RIGHT|BUTTON_REL, BUTTON_RIGHT }, | 91 | { ACTION_WPS_SKIPNEXT, BUTTON_RIGHT|BUTTON_REL, BUTTON_RIGHT }, |
86 | { ACTION_WPS_SEEKFWD, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE }, | 92 | { ACTION_WPS_SEEKFWD, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE }, |
@@ -172,6 +178,9 @@ static const struct button_mapping button_context_list[] = { | |||
172 | #ifdef CONFIG_TUNER | 178 | #ifdef CONFIG_TUNER |
173 | static const struct button_mapping button_context_radio[] = { | 179 | static const struct button_mapping button_context_radio[] = { |
174 | { ACTION_FM_MENU, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE }, | 180 | { ACTION_FM_MENU, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE }, |
181 | #ifdef ZEN_HAS_CONTROL | ||
182 | { ACTION_FM_MENU, BUTTON_MENU, BUTTON_NONE }, | ||
183 | #endif | ||
175 | { ACTION_FM_PLAY, BUTTON_PLAYPAUSE|BUTTON_REL, BUTTON_PLAYPAUSE }, | 184 | { ACTION_FM_PLAY, BUTTON_PLAYPAUSE|BUTTON_REL, BUTTON_PLAYPAUSE }, |
176 | { ACTION_FM_STOP, BUTTON_PLAYPAUSE|BUTTON_REPEAT, BUTTON_NONE }, | 185 | { ACTION_FM_STOP, BUTTON_PLAYPAUSE|BUTTON_REPEAT, BUTTON_NONE }, |
177 | #ifdef ZEN_HAS_VOL | 186 | #ifdef ZEN_HAS_VOL |