From 2ece18609d5b88f0231408e763acbc5fc2533562 Mon Sep 17 00:00:00 2001 From: Tomer Shalev Date: Sat, 5 Dec 2009 16:04:53 +0000 Subject: [PATCH] Cowon D2: Fix standard keymaps - ACTION_STD_CONTEXT was wrongly defined - ACTION_STD_QUICKSCREEN is unreachable git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23856 a1c6a512-1295-4272-9138-f99709370657 --- apps/keymaps/keymap-cowond2.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/apps/keymaps/keymap-cowond2.c b/apps/keymaps/keymap-cowond2.c index 6fb2b3c036..6980cbeaf3 100644 --- a/apps/keymaps/keymap-cowond2.c +++ b/apps/keymaps/keymap-cowond2.c @@ -46,10 +46,9 @@ static const struct button_mapping button_context_standard[] = { { ACTION_STD_OK, BUTTON_MENU|BUTTON_REL, BUTTON_MENU }, { ACTION_STD_CANCEL, BUTTON_POWER, BUTTON_NONE }, - - { ACTION_STD_QUICKSCREEN, BUTTON_PLUS|BUTTON_REPEAT, BUTTON_NONE }, - { ACTION_STD_CONTEXT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_NONE }, - + + { ACTION_STD_CONTEXT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_MENU }, + LAST_ITEM_IN_LIST }; /* button_context_standard */ @@ -62,7 +61,7 @@ static const struct button_mapping button_context_wps[] = { { ACTION_WPS_VOLUP, BUTTON_PLUS|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_WPS_MENU, BUTTON_MENU|BUTTON_REL, BUTTON_MENU }, { ACTION_WPS_CONTEXT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_MENU }, - + LAST_ITEM_IN_LIST }; /* button_context_wps */ @@ -143,7 +142,7 @@ static const struct button_mapping button_context_keyboard[] = { { ACTION_KBD_CURSOR_LEFT, BUTTON_MINUS|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_KBD_CURSOR_RIGHT, BUTTON_PLUS, BUTTON_NONE }, { ACTION_KBD_CURSOR_RIGHT, BUTTON_PLUS|BUTTON_REPEAT, BUTTON_NONE }, - + LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) }; /* button_context_keyboard */