diff options
author | Jeffrey Goode <jeffg7@gmail.com> | 2010-04-02 01:24:24 +0000 |
---|---|---|
committer | Jeffrey Goode <jeffg7@gmail.com> | 2010-04-02 01:24:24 +0000 |
commit | ce6ec7fef89dc2e41780836faa2e5c3dbe7eb8e4 (patch) | |
tree | f2f86d9c017c6aa84072018f106f9f9a4fd81bd1 /apps/keymaps/keymap-yh8xx_yh9xx.c | |
parent | d6543b71afcceb028953b0fffcf5ed8f2942182e (diff) |
Switch on hotkey on several targets. Stole the WPS Show Track Info key for most of them. Made up a free key for the rest.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25433 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/keymaps/keymap-yh8xx_yh9xx.c')
-rw-r--r-- | apps/keymaps/keymap-yh8xx_yh9xx.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/apps/keymaps/keymap-yh8xx_yh9xx.c b/apps/keymaps/keymap-yh8xx_yh9xx.c index c64263d809..0bc197b9de 100644 --- a/apps/keymaps/keymap-yh8xx_yh9xx.c +++ b/apps/keymaps/keymap-yh8xx_yh9xx.c @@ -96,11 +96,8 @@ static const struct button_mapping button_context_wps[] = { { ACTION_WPS_QUICKSCREEN, BUTTON_LEFT|BUTTON_DOWN|BUTTON_REPEAT, BUTTON_LEFT|BUTTON_DOWN|BUTTON_REPEAT }, -#ifdef HAVE_HOTKEY - { ACTION_WPS_HOTKEY, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_LEFT }, -#else + { ACTION_WPS_HOTKEY, BUTTON_REC|BUTTON_REL, BUTTON_REC }, { ACTION_WPS_VIEW_PLAYLIST, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_LEFT }, -#endif { ACTION_WPS_REC, BUTTON_REC|BUTTON_REPEAT, BUTTON_NONE }, LAST_ITEM_IN_LIST @@ -121,9 +118,7 @@ static const struct button_mapping button_context_list[] = { static const struct button_mapping button_context_tree[] = { { ACTION_TREE_WPS, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY }, { ACTION_TREE_STOP, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_PLAY }, -#ifdef HAVE_HOTKEY -// { ACTION_TREE_HOTKEY, BUTTON_NONE, BUTTON_NONE }, -#endif + { ACTION_TREE_HOTKEY, BUTTON_REC|BUTTON_REL, BUTTON_REC }, LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_LIST) }; /* button_context_tree */ |