From 4ef5573415fb8f230c66449a7c453264ec11a38a Mon Sep 17 00:00:00 2001 From: Martin Scarratt Date: Fri, 18 Aug 2006 07:58:49 +0000 Subject: [PATCH] H3xx remote: restore stop button functionality in filebrowser Stop = Stop. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10641 a1c6a512-1295-4272-9138-f99709370657 --- apps/keymaps/keymap-h1x0_h3x0.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/apps/keymaps/keymap-h1x0_h3x0.c b/apps/keymaps/keymap-h1x0_h3x0.c index e65aa4c349..f5ccfdce70 100644 --- a/apps/keymaps/keymap-h1x0_h3x0.c +++ b/apps/keymaps/keymap-h1x0_h3x0.c @@ -280,10 +280,17 @@ const struct button_mapping button_context_standard_h300lcdremote[] = { const struct button_mapping *button_context_wps_h300lcdremote = button_context_wps_h100lcdremote; -/* FIXME: the same as h100 ?? */ -const struct button_mapping *button_context_listtree_h300lcdremote = - button_context_listtree_h100lcdremote; -/* FIXME: the same as h100 ?? */ +const struct button_mapping button_context_listtree_h300lcdremote[] = { + { ACTION_LISTTREE_PGUP, BUTTON_RC_SOURCE, BUTTON_NONE }, + { ACTION_LISTTREE_PGUP, BUTTON_RC_SOURCE|BUTTON_REPEAT, BUTTON_NONE }, + { ACTION_LISTTREE_PGDOWN, BUTTON_RC_BITRATE, BUTTON_NONE }, + { ACTION_LISTTREE_PGDOWN, BUTTON_RC_BITRATE|BUTTON_REPEAT, BUTTON_NONE }, + { ACTION_TREE_WPS, BUTTON_RC_ON|BUTTON_REL, BUTTON_RC_ON }, + { ACTION_TREE_STOP, BUTTON_RC_STOP, BUTTON_NONE }, + + LAST_ITEM_IN_LIST + +}; /* button_context_listtree_h300lcdremote */ const struct button_mapping *button_context_settings_h300lcdremote = button_context_settings_h100lcdremote;