summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2016-12-21 23:41:20 +0100
committerWilliam Wilgus <me.theuser@yahoo.com>2018-06-05 18:07:18 +0200
commit8db6d2004aca3a307048c276a2a2ebba4aa6efc8 (patch)
tree4d306e75e118552d64866eb1f27a634299b8a5dd /apps
parent0c06e5fe9063db11049d1b1ecf41825d2a803cd5 (diff)
downloadrockbox-8db6d2004aca3a307048c276a2a2ebba4aa6efc8.tar.gz
rockbox-8db6d2004aca3a307048c276a2a2ebba4aa6efc8.zip
Fix FMS Volume-long press Up and Down button actions for SANSA CLIP derivatives
When long pressing PLAY/PAUSE and FM_MODE on devices that use the clip keymap the volume changes in addition to toggling PLAY/PAUSE and SCAN/SEEK,this patch removes the volume functionality as these devices provide dedicated volume buttons Change-Id: I3ab5af6da07900417c31c7a1036343b32b950e4e
Diffstat (limited to 'apps')
-rw-r--r--apps/keymaps/keymap-clip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/keymaps/keymap-clip.c b/apps/keymaps/keymap-clip.c
index 78cefbe30e..378c8a7439 100644
--- a/apps/keymaps/keymap-clip.c
+++ b/apps/keymaps/keymap-clip.c
@@ -242,8 +242,9 @@ static const struct button_mapping button_context_recscreen[] = {
/** FM Radio Screen **/
static const struct button_mapping button_context_radio[] = {
- { ACTION_NONE, BUTTON_UP|BUTTON_REPEAT, BUTTON_UP},
{ ACTION_NONE, BUTTON_SELECT, BUTTON_NONE },
+ { ACTION_NONE, BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE },
+ { ACTION_NONE, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_FM_MODE, BUTTON_DOWN, BUTTON_NONE },
{ ACTION_FM_PRESET, BUTTON_SELECT|BUTTON_REL, BUTTON_SELECT },
{ ACTION_FM_STOP, BUTTON_POWER|BUTTON_REL, BUTTON_POWER },