diff options
author | Jeffrey Goode <jeffg7@gmail.com> | 2010-04-01 03:14:44 +0000 |
---|---|---|
committer | Jeffrey Goode <jeffg7@gmail.com> | 2010-04-01 03:14:44 +0000 |
commit | d5e6bc7a8c413218ec1372fd54157e9639ab67b4 (patch) | |
tree | 2be93c700ef9c5e8f85cc7dbbfab7f9f842c92f0 /apps/keymaps/keymap-yh8xx_yh9xx.c | |
parent | 39e78993f317349dacfc4e8d1abb703117636696 (diff) | |
download | rockbox-d5e6bc7a8c413218ec1372fd54157e9639ab67b4.tar.gz rockbox-d5e6bc7a8c413218ec1372fd54157e9639ab67b4.zip |
FS#11081 - Hotkey patch. Many targets supported, but some keymaps need work before they can be switched on
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25414 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/keymaps/keymap-yh8xx_yh9xx.c')
-rw-r--r-- | apps/keymaps/keymap-yh8xx_yh9xx.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/keymaps/keymap-yh8xx_yh9xx.c b/apps/keymaps/keymap-yh8xx_yh9xx.c index 7ae787a291..c64263d809 100644 --- a/apps/keymaps/keymap-yh8xx_yh9xx.c +++ b/apps/keymaps/keymap-yh8xx_yh9xx.c | |||
@@ -96,7 +96,11 @@ static const struct button_mapping button_context_wps[] = { | |||
96 | { ACTION_WPS_QUICKSCREEN, BUTTON_LEFT|BUTTON_DOWN|BUTTON_REPEAT, | 96 | { ACTION_WPS_QUICKSCREEN, BUTTON_LEFT|BUTTON_DOWN|BUTTON_REPEAT, |
97 | BUTTON_LEFT|BUTTON_DOWN|BUTTON_REPEAT }, | 97 | BUTTON_LEFT|BUTTON_DOWN|BUTTON_REPEAT }, |
98 | 98 | ||
99 | #ifdef HAVE_HOTKEY | ||
100 | { ACTION_WPS_HOTKEY, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_LEFT }, | ||
101 | #else | ||
99 | { ACTION_WPS_VIEW_PLAYLIST, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_LEFT }, | 102 | { ACTION_WPS_VIEW_PLAYLIST, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_LEFT }, |
103 | #endif | ||
100 | { ACTION_WPS_REC, BUTTON_REC|BUTTON_REPEAT, BUTTON_NONE }, | 104 | { ACTION_WPS_REC, BUTTON_REC|BUTTON_REPEAT, BUTTON_NONE }, |
101 | 105 | ||
102 | LAST_ITEM_IN_LIST | 106 | LAST_ITEM_IN_LIST |
@@ -117,6 +121,9 @@ static const struct button_mapping button_context_list[] = { | |||
117 | static const struct button_mapping button_context_tree[] = { | 121 | static const struct button_mapping button_context_tree[] = { |
118 | { ACTION_TREE_WPS, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY }, | 122 | { ACTION_TREE_WPS, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY }, |
119 | { ACTION_TREE_STOP, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_PLAY }, | 123 | { ACTION_TREE_STOP, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_PLAY }, |
124 | #ifdef HAVE_HOTKEY | ||
125 | // { ACTION_TREE_HOTKEY, BUTTON_NONE, BUTTON_NONE }, | ||
126 | #endif | ||
120 | 127 | ||
121 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_LIST) | 128 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_LIST) |
122 | }; /* button_context_tree */ | 129 | }; /* button_context_tree */ |