summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-03-22 16:31:17 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-03-22 16:31:17 +0000
commit737971862491c52f72b13de558733cf66ae40d82 (patch)
tree2db0e0bc5dd7c264a1f613cf911ae9e3093578a2
parent16571745618e75af3fca3606bc9780fd0f011a10 (diff)
Clip+: arbitrary combo (home+select) for button lock
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25293 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/keymaps/keymap-clip.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/keymaps/keymap-clip.c b/apps/keymaps/keymap-clip.c
index a50db6dc0a..c71aedf80a 100644
--- a/apps/keymaps/keymap-clip.c
+++ b/apps/keymaps/keymap-clip.c
@@ -84,6 +84,10 @@ static const struct button_mapping button_context_wps[] = {
{ ACTION_WPS_ID3SCREEN, BUTTON_SELECT|BUTTON_DOWN, BUTTON_SELECT },
{ ACTION_WPS_VIEW_PLAYLIST, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE },
+#ifndef HAS_BUTTON_HOLD /* Clip+ */
+ { ACTION_STD_KEYLOCK, BUTTON_HOME|BUTTON_SELECT, BUTTON_NONE },
+#endif /* HAS_BUTTON_HOLD */
+
LAST_ITEM_IN_LIST
}; /* button_context_wps */