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.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/keymaps/keymap-ipod.c b/apps/keymaps/keymap-ipod.c
index 4f4ac4ad33..bfef9c153b 100644
--- a/apps/keymaps/keymap-ipod.c
+++ b/apps/keymaps/keymap-ipod.c
@@ -57,7 +57,7 @@ const struct button_mapping button_context_tree[] = {
57 { ACTION_TREE_WPS, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY }, 57 { ACTION_TREE_WPS, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY },
58 { ACTION_TREE_STOP, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_PLAY }, 58 { ACTION_TREE_STOP, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_PLAY },
59 59
60 LAST_ITEM_IN_LIST 60 LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
61}; /* button_context_tree */ 61}; /* button_context_tree */
62 62
63const struct button_mapping button_context_tree_scroll_lr[] = { 63const struct button_mapping button_context_tree_scroll_lr[] = {
@@ -90,7 +90,7 @@ const struct button_mapping button_context_wps[] = {
90 { ACTION_WPS_MENU, BUTTON_MENU|BUTTON_REL, BUTTON_MENU }, 90 { ACTION_WPS_MENU, BUTTON_MENU|BUTTON_REL, BUTTON_MENU },
91 { ACTION_WPS_QUICKSCREEN, BUTTON_MENU|BUTTON_REPEAT, BUTTON_MENU }, 91 { ACTION_WPS_QUICKSCREEN, BUTTON_MENU|BUTTON_REPEAT, BUTTON_MENU },
92 92
93 LAST_ITEM_IN_LIST 93 LAST_ITEM_IN_LIST,
94}; /* button_context_wps */ 94}; /* button_context_wps */
95 95
96const struct button_mapping button_context_settings[] = { 96const struct button_mapping button_context_settings[] = {
@@ -105,12 +105,12 @@ const struct button_mapping button_context_settings[] = {
105 { ACTION_STD_OK, BUTTON_SELECT|BUTTON_REL, BUTTON_NONE }, 105 { ACTION_STD_OK, BUTTON_SELECT|BUTTON_REL, BUTTON_NONE },
106 { ACTION_STD_CANCEL, BUTTON_MENU|BUTTON_REL, BUTTON_MENU }, 106 { ACTION_STD_CANCEL, BUTTON_MENU|BUTTON_REL, BUTTON_MENU },
107 107
108 LAST_ITEM_IN_LIST 108 LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
109}; /* button_context_settings */ 109}; /* button_context_settings */
110 110
111const struct button_mapping button_context_yesno[] = { 111const struct button_mapping button_context_yesno[] = {
112 { ACTION_YESNO_ACCEPT, BUTTON_PLAY, BUTTON_NONE }, 112 { ACTION_YESNO_ACCEPT, BUTTON_PLAY, BUTTON_NONE },
113 LAST_ITEM_IN_LIST 113 LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
114}; /* button_context_settings_yesno */ 114}; /* button_context_settings_yesno */
115 115
116const struct button_mapping button_context_bmark[] = { 116const struct button_mapping button_context_bmark[] = {
@@ -127,7 +127,7 @@ const struct button_mapping button_context_quickscreen[] = {
127 { ACTION_QS_RIGHT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE }, 127 { ACTION_QS_RIGHT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE },
128 { ACTION_STD_CANCEL, BUTTON_MENU, BUTTON_NONE }, 128 { ACTION_STD_CANCEL, BUTTON_MENU, BUTTON_NONE },
129 129
130 LAST_ITEM_IN_LIST 130 LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
131}; /* button_context_quickscreen */ 131}; /* button_context_quickscreen */
132 132
133const struct button_mapping button_context_pitchscreen[] = { 133const struct button_mapping button_context_pitchscreen[] = {
@@ -142,7 +142,7 @@ const struct button_mapping button_context_pitchscreen[] = {
142 { ACTION_PS_RESET, BUTTON_MENU, BUTTON_NONE }, 142 { ACTION_PS_RESET, BUTTON_MENU, BUTTON_NONE },
143 { ACTION_PS_EXIT, BUTTON_SELECT, BUTTON_NONE }, 143 { ACTION_PS_EXIT, BUTTON_SELECT, BUTTON_NONE },
144 144
145 LAST_ITEM_IN_LIST 145 LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
146}; /* button_context_pitchscreen */ 146}; /* button_context_pitchscreen */
147 147
148/* get_context_mapping returns a pointer to one of the above defined arrays depending on the context */ 148/* get_context_mapping returns a pointer to one of the above defined arrays depending on the context */