From 0971c62a3416e6314a978340c19afa044cfc4ea1 Mon Sep 17 00:00:00 2001 From: kugel Date: Sat, 25 Jul 2009 22:53:43 +0000 Subject: [PATCH] Deactive the playlist viewer wps shortcut on the x5/m5 because of its hardware inability to do combos. Only combos with the power button work, but that one does the hardware power off and should be avoided (many thanks to Marianne Arnold for clearing this up). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22049 a1c6a512-1295-4272-9138-f99709370657 --- apps/keymaps/keymap-x5.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/apps/keymaps/keymap-x5.c b/apps/keymaps/keymap-x5.c index 40e6b4c22..7a7dd9a7c 100644 --- a/apps/keymaps/keymap-x5.c +++ b/apps/keymaps/keymap-x5.c @@ -20,7 +20,11 @@ ****************************************************************************/ /* * - * Button Code Definitions for iaudio x5 targets + * Button Code Definitions for iaudio m5/x5 targets + * + * Note that button combos are incompatible on this targets, except for those + * with the power button. But these are discouraged because the the power button + * also does the hardware poweroff * * \TODO test! */ @@ -367,7 +371,10 @@ static const struct button_mapping button_context_wps[] = { { ACTION_WPS_CONTEXT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_SELECT }, { ACTION_WPS_MENU, BUTTON_REC|BUTTON_REL, BUTTON_REC }, { ACTION_WPS_QUICKSCREEN, BUTTON_REC|BUTTON_REPEAT, BUTTON_REC }, - { ACTION_WPS_VIEW_PLAYLIST, BUTTON_REC|BUTTON_SELECT, BUTTON_NONE }, + /* + * Can't really do combos on M5 + * { ACTION_WPS_VIEW_PLAYLIST, BUTTON_REC|BUTTON_SELECT, BUTTON_NONE }, + */ LAST_ITEM_IN_LIST }; /* button_context_wps */ -- 2.11.4.GIT