diff options
author | William Wilgus <me.theuser@yahoo.com> | 2016-12-21 23:41:20 +0100 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2018-06-05 18:07:18 +0200 |
commit | 8db6d2004aca3a307048c276a2a2ebba4aa6efc8 (patch) | |
tree | 4d306e75e118552d64866eb1f27a634299b8a5dd /apps/keymaps/keymap-clip.c | |
parent | 0c06e5fe9063db11049d1b1ecf41825d2a803cd5 (diff) | |
download | rockbox-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/keymaps/keymap-clip.c')
-rw-r--r-- | apps/keymaps/keymap-clip.c | 3 |
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[] = { | |||
242 | 242 | ||
243 | /** FM Radio Screen **/ | 243 | /** FM Radio Screen **/ |
244 | static const struct button_mapping button_context_radio[] = { | 244 | static const struct button_mapping button_context_radio[] = { |
245 | { ACTION_NONE, BUTTON_UP|BUTTON_REPEAT, BUTTON_UP}, | ||
246 | { ACTION_NONE, BUTTON_SELECT, BUTTON_NONE }, | 245 | { ACTION_NONE, BUTTON_SELECT, BUTTON_NONE }, |
246 | { ACTION_NONE, BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE }, | ||
247 | { ACTION_NONE, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE }, | ||
247 | { ACTION_FM_MODE, BUTTON_DOWN, BUTTON_NONE }, | 248 | { ACTION_FM_MODE, BUTTON_DOWN, BUTTON_NONE }, |
248 | { ACTION_FM_PRESET, BUTTON_SELECT|BUTTON_REL, BUTTON_SELECT }, | 249 | { ACTION_FM_PRESET, BUTTON_SELECT|BUTTON_REL, BUTTON_SELECT }, |
249 | { ACTION_FM_STOP, BUTTON_POWER|BUTTON_REL, BUTTON_POWER }, | 250 | { ACTION_FM_STOP, BUTTON_POWER|BUTTON_REL, BUTTON_POWER }, |