diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2009-01-03 00:14:59 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2009-01-03 00:14:59 +0000 |
commit | 48249d367881e0148f1e6300eee6008dec1e5b8f (patch) | |
tree | 2d86a049ee47274b43b0595a9e663333754d477c | |
parent | e986b6212ad051c379836af41f20d4dd7880d980 (diff) | |
download | rockbox-48249d367881e0148f1e6300eee6008dec1e5b8f.tar.gz rockbox-48249d367881e0148f1e6300eee6008dec1e5b8f.zip |
Sansa Clip: simplify keymap for button_context_right_is_inc. This fixes moving around in the graphical equalizer
screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19648 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/keymaps/keymap-clip.c | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/apps/keymaps/keymap-clip.c b/apps/keymaps/keymap-clip.c index 6bd22b2d38..2dcc7e342a 100644 --- a/apps/keymaps/keymap-clip.c +++ b/apps/keymaps/keymap-clip.c | |||
@@ -165,20 +165,12 @@ static const struct button_mapping button_context_quickscreen[] = { | |||
165 | }; /* button_context_quickscreen */ | 165 | }; /* button_context_quickscreen */ |
166 | 166 | ||
167 | static const struct button_mapping button_context_settings_right_is_inc[] = { | 167 | static const struct button_mapping button_context_settings_right_is_inc[] = { |
168 | { ACTION_SETTINGS_INC, BUTTON_RIGHT, BUTTON_NONE }, | 168 | { ACTION_SETTINGS_INC, BUTTON_RIGHT, BUTTON_NONE }, |
169 | { ACTION_SETTINGS_INCREPEAT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE }, | 169 | { ACTION_SETTINGS_INCREPEAT,BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE }, |
170 | { ACTION_SETTINGS_DEC, BUTTON_LEFT, BUTTON_NONE }, | 170 | { ACTION_SETTINGS_DEC, BUTTON_LEFT, BUTTON_NONE }, |
171 | { ACTION_SETTINGS_DECREPEAT, BUTTON_LEFT|BUTTON_REPEAT,BUTTON_NONE }, | 171 | { ACTION_SETTINGS_DECREPEAT,BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE }, |
172 | 172 | ||
173 | { ACTION_STD_PREV, BUTTON_UP|BUTTON_REL, BUTTON_NONE }, | 173 | { ACTION_STD_CANCEL, BUTTON_POWER, BUTTON_NONE }, |
174 | { ACTION_STD_PREVREPEAT, BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE }, | ||
175 | { ACTION_STD_NEXT, BUTTON_DOWN|BUTTON_REL, BUTTON_NONE }, | ||
176 | { ACTION_STD_NEXTREPEAT, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE }, | ||
177 | { ACTION_NONE, BUTTON_SELECT, BUTTON_NONE }, | ||
178 | { ACTION_STD_OK, BUTTON_SELECT|BUTTON_REL, BUTTON_NONE }, | ||
179 | { ACTION_NONE, BUTTON_LEFT|BUTTON_REL, BUTTON_LEFT }, | ||
180 | { ACTION_NONE, BUTTON_POWER, BUTTON_NONE }, | ||
181 | { ACTION_STD_CANCEL, BUTTON_POWER|BUTTON_REL, BUTTON_NONE }, | ||
182 | 174 | ||
183 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD), | 175 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD), |
184 | }; /* button_context_settings_right_is_inc */ | 176 | }; /* button_context_settings_right_is_inc */ |