summaryrefslogtreecommitdiff
path: root/apps/keymaps/keymap-ipod.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/keymaps/keymap-ipod.c')
-rw-r--r--apps/keymaps/keymap-ipod.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/keymaps/keymap-ipod.c b/apps/keymaps/keymap-ipod.c
index 26189d95fe..8ca0c56831 100644
--- a/apps/keymaps/keymap-ipod.c
+++ b/apps/keymaps/keymap-ipod.c
@@ -166,6 +166,12 @@ static const struct button_mapping button_context_keyboard[] = {
166 LAST_ITEM_IN_LIST 166 LAST_ITEM_IN_LIST
167}; /* button_context_keyboard */ 167}; /* button_context_keyboard */
168 168
169const struct button_mapping button_context_recscreen[] = {
170 { ACTION_REC_PAUSE, BUTTON_PLAY, BUTTON_NONE },
171
172 LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_SETTINGS)
173}; /* button_context_recscreen */
174
169/* get_context_mapping returns a pointer to one of the above defined arrays depending on the context */ 175/* get_context_mapping returns a pointer to one of the above defined arrays depending on the context */
170const struct button_mapping* get_context_mapping(int context) 176const struct button_mapping* get_context_mapping(int context)
171{ 177{
@@ -202,6 +208,8 @@ const struct button_mapping* get_context_mapping(int context)
202 return button_context_pitchscreen; 208 return button_context_pitchscreen;
203 case CONTEXT_KEYBOARD: 209 case CONTEXT_KEYBOARD:
204 return button_context_keyboard; 210 return button_context_keyboard;
211 case CONTEXT_RECSCREEN:
212 return button_context_recscreen;
205 default: 213 default:
206 return button_context_standard; 214 return button_context_standard;
207 } 215 }