summaryrefslogtreecommitdiff
path: root/apps/keymaps/keymap-ondio.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/keymaps/keymap-ondio.c')
-rw-r--r--apps/keymaps/keymap-ondio.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/keymaps/keymap-ondio.c b/apps/keymaps/keymap-ondio.c
index 5476268065..57bdcc324a 100644
--- a/apps/keymaps/keymap-ondio.c
+++ b/apps/keymaps/keymap-ondio.c
@@ -127,6 +127,16 @@ const struct button_mapping button_context_pitchscreen[] = {
127 LAST_ITEM_IN_LIST 127 LAST_ITEM_IN_LIST
128}; /* button_context_quickscreen */ 128}; /* button_context_quickscreen */
129 129
130const struct button_mapping button_context_recscreen[] = {
131 { ACTION_REC_PAUSE, BUTTON_MENU|BUTTON_REL, BUTTON_MENU },
132 { ACTION_SETTINGS_INC, BUTTON_RIGHT, BUTTON_NONE },
133 { ACTION_SETTINGS_INC, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE },
134 { ACTION_SETTINGS_DEC, BUTTON_LEFT, BUTTON_NONE },
135 { ACTION_SETTINGS_DEC, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE },
136
137 LAST_ITEM_IN_LIST
138}; /* button_context_recscreen */
139
130const struct button_mapping* get_context_mapping( int context ) 140const struct button_mapping* get_context_mapping( int context )
131{ 141{
132 switch( context ) 142 switch( context )
@@ -153,6 +163,8 @@ const struct button_mapping* get_context_mapping( int context )
153 /* else fall through to CUSTOM|1 */ 163 /* else fall through to CUSTOM|1 */
154 case CONTEXT_CUSTOM|1: 164 case CONTEXT_CUSTOM|1:
155 return button_context_tree; 165 return button_context_tree;
166 case CONTEXT_RECSCREEN:
167 return button_context_recscreen;
156 168
157 case CONTEXT_LIST: 169 case CONTEXT_LIST:
158 case CONTEXT_MAINMENU: 170 case CONTEXT_MAINMENU: