diff options
author | Teruaki Kawashima <teru@rockbox.org> | 2010-11-29 11:28:53 +0000 |
---|---|---|
committer | Teruaki Kawashima <teru@rockbox.org> | 2010-11-29 11:28:53 +0000 |
commit | 4fd775f7f0f5e6c7f2fd277ea0889afecef191e7 (patch) | |
tree | 0bf7f2d717694459b7e37a50004d4c9809af3028 /apps/keymaps/keymap-ondio.c | |
parent | abc34aa971116d38b0e27892b106fb8282468c76 (diff) | |
download | rockbox-4fd775f7f0f5e6c7f2fd277ea0889afecef191e7.tar.gz rockbox-4fd775f7f0f5e6c7f2fd277ea0889afecef191e7.zip |
cahnge button mapping in list cotext so that it ignores button release.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28704 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/keymaps/keymap-ondio.c')
-rw-r--r-- | apps/keymaps/keymap-ondio.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/apps/keymaps/keymap-ondio.c b/apps/keymaps/keymap-ondio.c index 45938138ed..7724714d5a 100644 --- a/apps/keymaps/keymap-ondio.c +++ b/apps/keymaps/keymap-ondio.c | |||
@@ -93,17 +93,15 @@ static const struct button_mapping button_context_tree[] = { | |||
93 | }; /* button_context_listtree */ | 93 | }; /* button_context_listtree */ |
94 | 94 | ||
95 | static const struct button_mapping button_context_tree_scroll_lr[] = { | 95 | static const struct button_mapping button_context_tree_scroll_lr[] = { |
96 | { ACTION_NONE, BUTTON_LEFT, BUTTON_NONE }, | 96 | { ACTION_NONE, BUTTON_LEFT, BUTTON_NONE }, |
97 | { ACTION_STD_CANCEL, BUTTON_LEFT|BUTTON_REL, BUTTON_LEFT }, | 97 | { ACTION_STD_CANCEL, BUTTON_LEFT|BUTTON_REL, BUTTON_LEFT }, |
98 | { ACTION_TREE_PGLEFT, BUTTON_MENU|BUTTON_LEFT, BUTTON_NONE }, | 98 | { ACTION_TREE_PGLEFT, BUTTON_MENU|BUTTON_LEFT, BUTTON_NONE }, |
99 | { ACTION_TREE_ROOT_INIT, BUTTON_MENU|BUTTON_LEFT|BUTTON_REPEAT, BUTTON_MENU|BUTTON_LEFT }, | 99 | { ACTION_TREE_ROOT_INIT, BUTTON_MENU|BUTTON_LEFT|BUTTON_REPEAT, BUTTON_MENU|BUTTON_LEFT }, |
100 | { ACTION_TREE_PGLEFT, BUTTON_MENU|BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE }, | 100 | { ACTION_TREE_PGLEFT, BUTTON_MENU|BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE }, |
101 | { ACTION_TREE_PGLEFT, BUTTON_MENU|BUTTON_RIGHT|BUTTON_REL, BUTTON_MENU|BUTTON_RIGHT|BUTTON_REPEAT }, | 101 | { ACTION_NONE, BUTTON_RIGHT, BUTTON_NONE }, |
102 | { ACTION_NONE, BUTTON_RIGHT, BUTTON_NONE }, | 102 | { ACTION_STD_OK, BUTTON_RIGHT|BUTTON_REL, BUTTON_RIGHT }, |
103 | { ACTION_STD_OK, BUTTON_RIGHT|BUTTON_REL, BUTTON_RIGHT }, | 103 | { ACTION_TREE_PGRIGHT, BUTTON_MENU|BUTTON_RIGHT, BUTTON_NONE }, |
104 | { ACTION_TREE_PGRIGHT, BUTTON_MENU|BUTTON_RIGHT, BUTTON_NONE }, | ||
105 | { ACTION_TREE_PGRIGHT, BUTTON_MENU|BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE }, | 104 | { ACTION_TREE_PGRIGHT, BUTTON_MENU|BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE }, |
106 | { ACTION_TREE_PGRIGHT, BUTTON_MENU|BUTTON_RIGHT|BUTTON_REL, BUTTON_MENU|BUTTON_RIGHT|BUTTON_REPEAT }, | ||
107 | 105 | ||
108 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_CUSTOM|CONTEXT_TREE), | 106 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_CUSTOM|CONTEXT_TREE), |
109 | }; | 107 | }; |