From 8fcce9653fc29a41019cf9a053d12d9c7717af56 Mon Sep 17 00:00:00 2001 From: Lorenzo Miori Date: Fri, 5 Jul 2013 23:28:13 +0200 Subject: 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 Reviewed-by: Thomas Martitz --- apps/keymaps/keymap-ypr0.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps') 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 }, -- cgit v1.2.3