summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2009-12-10 21:28:55 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2009-12-10 21:28:55 +0000
commit75be896c07492dea72cb3328abee3a810755778a (patch)
tree04e2944e0aa56644fb164e6212c9c8e0d31339f0 /apps
parente63a06707f78141523948a290ff9456638a6c199 (diff)
downloadrockbox-75be896c07492dea72cb3328abee3a810755778a.zip
rockbox-75be896c07492dea72cb3328abee3a810755778a.tar.gz
rockbox-75be896c07492dea72cb3328abee3a810755778a.tar.bz2
rockbox-75be896c07492dea72cb3328abee3a810755778a.tar.xz
Cowon D2: Add some more key mappings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23927 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/keymaps/keymap-cowond2.c20
1 files changed, 14 insertions, 6 deletions
diff --git a/apps/keymaps/keymap-cowond2.c b/apps/keymaps/keymap-cowond2.c
index 589d2b4..594a68f 100644
--- a/apps/keymaps/keymap-cowond2.c
+++ b/apps/keymaps/keymap-cowond2.c
@@ -71,8 +71,8 @@ static const struct button_mapping button_context_list[] = {
}; /* button_context_list */
static const struct button_mapping button_context_tree[] = {
- { ACTION_TREE_WPS, BUTTON_PLUS|BUTTON_MENU, BUTTON_PLUS },
- { ACTION_TREE_WPS, BUTTON_PLUS|BUTTON_MENU, BUTTON_PLUS|BUTTON_REPEAT },
+ { ACTION_TREE_WPS, BUTTON_PLUS|BUTTON_MENU, BUTTON_PLUS },
+ { ACTION_TREE_STOP, BUTTON_POWER|BUTTON_REL, BUTTON_POWER },
LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_LIST)
}; /* button_context_tree */
@@ -102,6 +102,7 @@ static const struct button_mapping button_context_settings_right_is_inc[] = {
static const struct button_mapping button_context_yesno[] = {
{ ACTION_YESNO_ACCEPT, BUTTON_MENU, BUTTON_NONE },
+
LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
}; /* button_context_settings_yesno */
@@ -123,6 +124,8 @@ static const struct button_mapping button_context_time[] = {
}; /* button_context_time */
static const struct button_mapping button_context_quickscreen[] = {
+ { ACTION_STD_CANCEL, BUTTON_POWER|BUTTON_REL, BUTTON_NONE },
+ { ACTION_STD_CANCEL, BUTTON_MENU|BUTTON_REL, BUTTON_NONE },
LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
}; /* button_context_quickscreen */
@@ -130,9 +133,9 @@ static const struct button_mapping button_context_quickscreen[] = {
static const struct button_mapping button_context_pitchscreen[] = {
{ ACTION_PS_INC_SMALL, BUTTON_PLUS, BUTTON_NONE },
- { ACTION_PS_INC_SMALL, BUTTON_PLUS|BUTTON_REPEAT, BUTTON_NONE },
+ { ACTION_PS_INC_BIG, BUTTON_PLUS|BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_PS_DEC_SMALL, BUTTON_MINUS, BUTTON_NONE },
- { ACTION_PS_DEC_SMALL, BUTTON_MINUS|BUTTON_REPEAT, BUTTON_NONE },
+ { ACTION_PS_DEC_BIG, BUTTON_MINUS|BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_PS_EXIT, BUTTON_POWER, BUTTON_NONE },
LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
}; /* button_context_pitchcreen */
@@ -148,8 +151,13 @@ static const struct button_mapping button_context_keyboard[] = {
}; /* button_context_keyboard */
static const struct button_mapping button_context_radio[] = {
- { ACTION_FM_MENU, BUTTON_MENU, BUTTON_NONE },
- { ACTION_FM_STOP, BUTTON_POWER, BUTTON_NONE },
+ { ACTION_STD_PREV, BUTTON_MINUS, BUTTON_NONE },
+ { ACTION_STD_PREVREPEAT, BUTTON_MINUS|BUTTON_REPEAT, BUTTON_NONE },
+ { ACTION_STD_NEXT, BUTTON_PLUS, BUTTON_NONE },
+ { ACTION_STD_NEXTREPEAT, BUTTON_PLUS|BUTTON_REPEAT, BUTTON_NONE },
+ { ACTION_FM_MENU, BUTTON_MENU|BUTTON_REPEAT, BUTTON_NONE },
+ { ACTION_FM_PRESET, BUTTON_MENU|BUTTON_REL, BUTTON_NONE },
+ { ACTION_FM_STOP, BUTTON_POWER, BUTTON_NONE },
LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_SETTINGS)
}; /* button_context_radio */