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-av300.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-av300.c')
-rw-r--r-- | apps/keymaps/keymap-av300.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/keymaps/keymap-av300.c b/apps/keymaps/keymap-av300.c index d007bd65ea..bba7430118 100644 --- a/apps/keymaps/keymap-av300.c +++ b/apps/keymaps/keymap-av300.c | |||
@@ -108,11 +108,9 @@ static const struct button_mapping button_context_tree[] = { | |||
108 | { ACTION_TREE_STOP, BUTTON_OFF, BUTTON_NONE }, | 108 | { ACTION_TREE_STOP, BUTTON_OFF, BUTTON_NONE }, |
109 | { ACTION_TREE_HOTKEY, BUTTON_F2|BUTTON_REL, BUTTON_F2 }, | 109 | { ACTION_TREE_HOTKEY, BUTTON_F2|BUTTON_REL, BUTTON_F2 }, |
110 | { ACTION_NONE, BUTTON_ON, BUTTON_NONE }, | 110 | { ACTION_NONE, BUTTON_ON, BUTTON_NONE }, |
111 | { ACTION_LISTTREE_PGUP, BUTTON_ON|BUTTON_UP, BUTTON_ON }, | 111 | { ACTION_LISTTREE_PGUP, BUTTON_ON|BUTTON_UP, BUTTON_NONE }, |
112 | { ACTION_LISTTREE_PGUP, BUTTON_UP|BUTTON_REL, BUTTON_ON|BUTTON_UP }, | ||
113 | { ACTION_LISTTREE_PGUP, BUTTON_ON|BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE }, | 112 | { ACTION_LISTTREE_PGUP, BUTTON_ON|BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE }, |
114 | { ACTION_LISTTREE_PGDOWN, BUTTON_ON|BUTTON_DOWN, BUTTON_ON }, | 113 | { ACTION_LISTTREE_PGDOWN, BUTTON_ON|BUTTON_DOWN, BUTTON_NONE }, |
115 | { ACTION_LISTTREE_PGDOWN, BUTTON_DOWN|BUTTON_REL, BUTTON_ON|BUTTON_DOWN }, | ||
116 | { ACTION_LISTTREE_PGDOWN, BUTTON_ON|BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE }, | 114 | { ACTION_LISTTREE_PGDOWN, BUTTON_ON|BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE }, |
117 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) | 115 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) |
118 | }; /* button_context_listtree */ | 116 | }; /* button_context_listtree */ |
@@ -122,11 +120,9 @@ static const struct button_mapping button_context_tree_scroll_lr[] = { | |||
122 | { ACTION_STD_CANCEL, BUTTON_LEFT|BUTTON_REL, BUTTON_LEFT }, | 120 | { ACTION_STD_CANCEL, BUTTON_LEFT|BUTTON_REL, BUTTON_LEFT }, |
123 | { ACTION_TREE_ROOT_INIT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_LEFT }, | 121 | { ACTION_TREE_ROOT_INIT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_LEFT }, |
124 | { ACTION_TREE_PGLEFT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE }, | 122 | { ACTION_TREE_PGLEFT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE }, |
125 | { ACTION_TREE_PGLEFT, BUTTON_LEFT|BUTTON_REL, BUTTON_LEFT|BUTTON_REPEAT }, | ||
126 | { ACTION_NONE, BUTTON_RIGHT, BUTTON_NONE }, | 123 | { ACTION_NONE, BUTTON_RIGHT, BUTTON_NONE }, |
127 | { ACTION_STD_OK, BUTTON_RIGHT|BUTTON_REL, BUTTON_RIGHT }, | 124 | { ACTION_STD_OK, BUTTON_RIGHT|BUTTON_REL, BUTTON_RIGHT }, |
128 | { ACTION_TREE_PGRIGHT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE }, | 125 | { ACTION_TREE_PGRIGHT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE }, |
129 | { ACTION_TREE_PGRIGHT, BUTTON_RIGHT|BUTTON_REL, BUTTON_RIGHT|BUTTON_REPEAT }, | ||
130 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_CUSTOM|1), | 126 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_CUSTOM|1), |
131 | }; | 127 | }; |
132 | 128 | ||