summaryrefslogtreecommitdiff
path: root/apps/keymaps/keymap-x5.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-07-25 22:53:43 +0000
committerThomas Martitz <kugel@rockbox.org>2009-07-25 22:53:43 +0000
commit9e9fb929b43ece21ce47c27052e6f0fef057ce22 (patch)
tree80ff1fdffd6c25412d8dacbd5c7b32db52e5e56c /apps/keymaps/keymap-x5.c
parent81d7bf9f21197665e9c0439b42a1a1772c81b0ee (diff)
downloadrockbox-9e9fb929b43ece21ce47c27052e6f0fef057ce22.tar.gz
rockbox-9e9fb929b43ece21ce47c27052e6f0fef057ce22.zip
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
Diffstat (limited to 'apps/keymaps/keymap-x5.c')
-rw-r--r--apps/keymaps/keymap-x5.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/apps/keymaps/keymap-x5.c b/apps/keymaps/keymap-x5.c
index 40e6b4c225..7a7dd9a7c9 100644
--- a/apps/keymaps/keymap-x5.c
+++ b/apps/keymaps/keymap-x5.c
@@ -20,7 +20,11 @@
20 ****************************************************************************/ 20 ****************************************************************************/
21 21
22/* * 22/* *
23 * Button Code Definitions for iaudio x5 targets 23 * Button Code Definitions for iaudio m5/x5 targets
24 *
25 * Note that button combos are incompatible on this targets, except for those
26 * with the power button. But these are discouraged because the the power button
27 * also does the hardware poweroff
24 * 28 *
25 * \TODO test! 29 * \TODO test!
26 */ 30 */
@@ -367,7 +371,10 @@ static const struct button_mapping button_context_wps[] = {
367 { ACTION_WPS_CONTEXT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_SELECT }, 371 { ACTION_WPS_CONTEXT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_SELECT },
368 { ACTION_WPS_MENU, BUTTON_REC|BUTTON_REL, BUTTON_REC }, 372 { ACTION_WPS_MENU, BUTTON_REC|BUTTON_REL, BUTTON_REC },
369 { ACTION_WPS_QUICKSCREEN, BUTTON_REC|BUTTON_REPEAT, BUTTON_REC }, 373 { ACTION_WPS_QUICKSCREEN, BUTTON_REC|BUTTON_REPEAT, BUTTON_REC },
370 { ACTION_WPS_VIEW_PLAYLIST, BUTTON_REC|BUTTON_SELECT, BUTTON_NONE }, 374 /*
375 * Can't really do combos on M5
376 * { ACTION_WPS_VIEW_PLAYLIST, BUTTON_REC|BUTTON_SELECT, BUTTON_NONE },
377 */
371 378
372 LAST_ITEM_IN_LIST 379 LAST_ITEM_IN_LIST
373}; /* button_context_wps */ 380}; /* button_context_wps */