summaryrefslogtreecommitdiff
path: root/apps/keymaps/keymap-ipod.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2006-08-21 11:28:29 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2006-08-21 11:28:29 +0000
commit56a16d7b236984d2a2012874eb5ed790a9ccf26b (patch)
tree216dae5691f749d6bbf5be1dbefa11dcbacfd7a2 /apps/keymaps/keymap-ipod.c
parentd12f81ddd4a0cdd76d08540b70068b3cb2c985ed (diff)
downloadrockbox-56a16d7b236984d2a2012874eb5ed790a9ccf26b.tar.gz
rockbox-56a16d7b236984d2a2012874eb5ed790a9ccf26b.zip
Action lists no longer automatically "chain" to the CONTEXT_STD unless explicitly told to
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10671 a1c6a512-1295-4272-9138-f99709370657
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 */