From 5cfcb8f48db3da2c98aa1c9d81f2db69dd253191 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Tue, 30 Oct 2012 13:13:46 +0100 Subject: [PATCH] fuzeplus: update radio keymap Volume up/down now update volume(!) and long select press display fm menu. Change-Id: Iba5574a3804f91efeab1202bbdd14a0522f7396b --- apps/keymaps/keymap-fuzeplus.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/keymaps/keymap-fuzeplus.c b/apps/keymaps/keymap-fuzeplus.c index b26c9c71b9..43c50c03b0 100644 --- a/apps/keymaps/keymap-fuzeplus.c +++ b/apps/keymaps/keymap-fuzeplus.c @@ -169,11 +169,15 @@ static const struct button_mapping button_context_list[] = { #ifdef CONFIG_TUNER static const struct button_mapping button_context_radio[] = { -/* { ACTION_FM_MENU, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE }, */ + { ACTION_FM_MENU, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_FM_PRESET, BUTTON_BOTTOMRIGHT, BUTTON_SELECT }, { ACTION_FM_PLAY, BUTTON_PLAYPAUSE|BUTTON_REL, BUTTON_PLAYPAUSE }, { ACTION_FM_STOP, BUTTON_PLAYPAUSE|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_FM_MODE, BUTTON_BOTTOMLEFT, BUTTON_BOTTOMLEFT }, + { 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 }, { ACTION_FM_EXIT, BUTTON_BACK, BUTTON_NONE }, -- 2.11.4.GIT