summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Louis Biasini <jlbiasini@gmail.com>2013-08-21 22:57:02 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-09-05 20:01:33 +0200
commitef2dd06d5ee7415684f45afadad6deaf0fb0c615 (patch)
treee4e20f36d3a068c2470e6d3bb3381cfa2cf8f839
parentf182a11f3362017a6c669871414a9bb448ee050d (diff)
downloadrockbox-ef2dd06.tar.gz
rockbox-ef2dd06.tar.bz2
rockbox-ef2dd06.zip
fuze+/keymaps: Implement the ACTION_STD_MENU
ACTION_STD_MENU seems to be an important keymaps. We map it to BUTTON_BACK and keep cancel on the BUTTON_LEFT Change-Id: Iea4a1e4671faee376ad4200b08ca82c2d00d1ff9 Reviewed-on: http://gerrit.rockbox.org/571 Reviewed-by: Thomas Martitz <kugel@rockbox.org> Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
-rw-r--r--apps/keymaps/keymap-fuzeplus.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/keymaps/keymap-fuzeplus.c b/apps/keymaps/keymap-fuzeplus.c
index 042803dd15..db9d2f64c4 100644
--- a/apps/keymaps/keymap-fuzeplus.c
+++ b/apps/keymaps/keymap-fuzeplus.c
@@ -41,8 +41,8 @@ static const struct button_mapping button_context_standard[] = {
{ ACTION_STD_CONTEXT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_SELECT },
{ ACTION_STD_CONTEXT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_RIGHT },
- { ACTION_STD_CANCEL, BUTTON_BACK, BUTTON_NONE },
- { ACTION_STD_CANCEL, BUTTON_BACK|BUTTON_REPEAT, BUTTON_NONE },
+ { ACTION_STD_MENU, BUTTON_BACK, BUTTON_NONE },
+ { ACTION_STD_MENU, BUTTON_BACK|BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_STD_CANCEL, BUTTON_LEFT, BUTTON_NONE },
{ ACTION_STD_CANCEL, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_STD_OK, BUTTON_SELECT|BUTTON_REL, BUTTON_SELECT },
@@ -53,7 +53,6 @@ static const struct button_mapping button_context_standard[] = {
/* { ACTION_STD_QUICKSCREEN, BUTTON_REC|BUTTON_SELECT, BUTTON_REC },
{ ACTION_STD_REC, BUTTON_REC|BUTTON_REPEAT, BUTTON_REC },
{ ACTION_STD_HOTKEY, BUTTON_REC|BUTTON_SELECT, BUTTON_REC },
- { ACTION_STD_MENU, BUTTON_MENU|BUTTON_REL, BUTTON_MENU },
on some gesture later? */
LAST_ITEM_IN_LIST