diff options
Diffstat (limited to 'apps/keymaps/keymap-nwz.c')
-rw-r--r-- | apps/keymaps/keymap-nwz.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/apps/keymaps/keymap-nwz.c b/apps/keymaps/keymap-nwz.c index 406bfa19dc..e676f8126e 100644 --- a/apps/keymaps/keymap-nwz.c +++ b/apps/keymaps/keymap-nwz.c | |||
@@ -103,8 +103,9 @@ static const struct button_mapping button_context_keyboard[] = { | |||
103 | { ACTION_KBD_BACKSPACE, BUTTON_BACK, BUTTON_NONE }, | 103 | { ACTION_KBD_BACKSPACE, BUTTON_BACK, BUTTON_NONE }, |
104 | { ACTION_KBD_BACKSPACE, BUTTON_BACK|BUTTON_REPEAT, BUTTON_NONE }, | 104 | { ACTION_KBD_BACKSPACE, BUTTON_BACK|BUTTON_REPEAT, BUTTON_NONE }, |
105 | 105 | ||
106 | { ACTION_KBD_SELECT, BUTTON_POWER, BUTTON_NONE }, | 106 | { ACTION_KBD_SELECT, BUTTON_PLAY|BUTTON_REL, BUTTON_NONE }, |
107 | { ACTION_KBD_DONE, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_PLAY }, | 107 | { ACTION_KBD_DONE, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_NONE }, |
108 | { ACTION_KBD_ABORT, BUTTON_POWER, BUTTON_NONE }, | ||
108 | 109 | ||
109 | LAST_ITEM_IN_LIST | 110 | LAST_ITEM_IN_LIST |
110 | }; /* button_context_keyboard */ | 111 | }; /* button_context_keyboard */ |
@@ -150,6 +151,14 @@ static const struct button_mapping button_context_radio[] = { | |||
150 | 151 | ||
151 | { ACTION_FM_EXIT, BUTTON_BACK, BUTTON_NONE }, | 152 | { ACTION_FM_EXIT, BUTTON_BACK, BUTTON_NONE }, |
152 | 153 | ||
154 | /* only compiled if there is a Volume UP button defined */ | ||
155 | #ifdef BUTTON_VOL_UP | ||
156 | { ACTION_SETTINGS_INC, BUTTON_VOL_UP, BUTTON_NONE }, | ||
157 | { ACTION_SETTINGS_INCREPEAT, BUTTON_VOL_UP|BUTTON_REPEAT, BUTTON_NONE }, | ||
158 | { ACTION_SETTINGS_DEC, BUTTON_VOL_DOWN, BUTTON_NONE }, | ||
159 | { ACTION_SETTINGS_DECREPEAT, BUTTON_VOL_DOWN|BUTTON_REPEAT, BUTTON_NONE }, | ||
160 | #endif /* BUTTON_VOL_UP */ | ||
161 | |||
153 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_SETTINGS) | 162 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_SETTINGS) |
154 | }; /* button_context_radio */ | 163 | }; /* button_context_radio */ |
155 | #endif | 164 | #endif |