summaryrefslogtreecommitdiffstats
path: root/apps/keymaps/keymap-clip.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2009-01-21 20:51:43 +0000
committerBertrik Sikken <bertrik@sikken.nl>2009-01-21 20:51:43 +0000
commitae351903a65393477f061a2eb934c8d8a6a605a6 (patch)
tree277902c37c9e5ab652f4b3e4b0db3d5e692f4f55 /apps/keymaps/keymap-clip.c
parentf1c6c3a754a60227019d1b3e38eb721f2d696dc5 (diff)
downloadrockbox-ae351903a65393477f061a2eb934c8d8a6a605a6.tar.gz
rockbox-ae351903a65393477f061a2eb934c8d8a6a605a6.zip
Commit stable parts of FS#9611 - Sansa Clip radio code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19813 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/keymaps/keymap-clip.c')
-rw-r--r--apps/keymaps/keymap-clip.c19
1 files changed, 13 insertions, 6 deletions
diff --git a/apps/keymaps/keymap-clip.c b/apps/keymaps/keymap-clip.c
index 5a4c990fe7..d7970a7984 100644
--- a/apps/keymaps/keymap-clip.c
+++ b/apps/keymaps/keymap-clip.c
@@ -218,12 +218,19 @@ static const struct button_mapping button_context_recscreen[] = {
/** FM Radio Screen **/
static const struct button_mapping button_context_radio[] = {
- { ACTION_FM_MENU, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE },
- { ACTION_FM_PRESET, BUTTON_SELECT|BUTTON_REL, BUTTON_NONE },
- { ACTION_FM_STOP, BUTTON_POWER|BUTTON_REL, BUTTON_NONE },
- { ACTION_FM_MODE, BUTTON_UP|BUTTON_REPEAT, BUTTON_UP },
- { ACTION_FM_EXIT, BUTTON_DOWN|BUTTON_REL, BUTTON_NONE },
- { ACTION_FM_PLAY, BUTTON_UP|BUTTON_REL, BUTTON_UP },
+ /* Copied from keymap-c200.c 20081207. Feel free to suggest a better one.*/
+ { ACTION_NONE, BUTTON_UP, BUTTON_NONE },
+ { ACTION_FM_MENU, BUTTON_DOWN, BUTTON_NONE },
+ { ACTION_FM_PRESET, BUTTON_SELECT, BUTTON_NONE },
+ { ACTION_FM_STOP, BUTTON_UP|BUTTON_REPEAT, BUTTON_UP },
+ { ACTION_FM_MODE, BUTTON_HOME, BUTTON_NONE },
+ { ACTION_FM_EXIT, BUTTON_POWER|BUTTON_REL, BUTTON_POWER },
+ { ACTION_FM_PLAY, BUTTON_UP|BUTTON_REL, BUTTON_UP },
+ { ACTION_SETTINGS_INC, BUTTON_VOL_UP, BUTTON_NONE },
+ { ACTION_SETTINGS_INCREPEAT,BUTTON_VOL_UP|BUTTON_REPEAT, BUTTON_NONE },
+ { ACTION_SETTINGS_DEC, BUTTON_VOL_DOWN, BUTTON_NONE },
+ { ACTION_SETTINGS_DECREPEAT,BUTTON_VOL_DOWN|BUTTON_REPEAT, BUTTON_NONE },
+
LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_SETTINGS)
}; /* button_context_radio */