summaryrefslogtreecommitdiff
path: root/apps/keymaps
diff options
context:
space:
mode:
authorLorenzo Miori <memoryS60@gmail.com>2013-07-05 23:28:13 +0200
committerThomas Martitz <kugel@rockbox.org>2013-07-06 12:38:41 +0200
commit8fcce9653fc29a41019cf9a053d12d9c7717af56 (patch)
tree80efdb0370b22ed205557466d2d8e17111a7ba84 /apps/keymaps
parent91ff99c2adc6787c75346c882435657db3949c60 (diff)
Samsung YP-R0: small patch to enable support to new keylock-in-FM feature.
Change-Id: I965550753bdd65ef4b02ef24e44e0faad2c74289 Reviewed-on: http://gerrit.rockbox.org/504 Reviewed-by: Lorenzo Miori <memorys60@gmail.com> Reviewed-by: Thomas Martitz <kugel@rockbox.org>
Diffstat (limited to 'apps/keymaps')
-rw-r--r--apps/keymaps/keymap-ypr0.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/keymaps/keymap-ypr0.c b/apps/keymaps/keymap-ypr0.c
index 5828995702..406fe5a9fe 100644
--- a/apps/keymaps/keymap-ypr0.c
+++ b/apps/keymaps/keymap-ypr0.c
@@ -218,12 +218,13 @@ static const struct button_mapping button_context_keyboard[] = {
static const struct button_mapping button_context_radio[] = {
{ ACTION_FM_MENU, BUTTON_SELECT | BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_FM_PRESET, BUTTON_MENU | BUTTON_REPEAT, BUTTON_NONE },
- { ACTION_FM_STOP, BUTTON_POWER | BUTTON_REL, BUTTON_POWER },
+ { ACTION_FM_STOP, BUTTON_POWER | BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_FM_MODE, BUTTON_MENU | BUTTON_REL, BUTTON_MENU },
{ ACTION_FM_EXIT, BUTTON_BACK | BUTTON_REL, BUTTON_BACK },
{ ACTION_FM_PLAY, BUTTON_SELECT | BUTTON_REL, BUTTON_SELECT },
{ ACTION_FM_NEXT_PRESET, BUTTON_USER | BUTTON_RIGHT, BUTTON_NONE },
{ ACTION_FM_PREV_PRESET, BUTTON_USER | BUTTON_LEFT, BUTTON_NONE },
+ { ACTION_STD_KEYLOCK, BUTTON_POWER | BUTTON_REL, BUTTON_POWER },
/* Volume */
{ ACTION_SETTINGS_INC, BUTTON_UP | BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_SETTINGS_INCREPEAT, BUTTON_UP, BUTTON_NONE },