summaryrefslogtreecommitdiffstats
path: root/apps/keymaps/keymap-clip.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-06-24 13:17:38 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-06-29 11:39:35 +0200
commitbc3a0795225553ccd7465ce977a8f0dc435b166a (patch)
tree2a8a0511128256cb3b9433e52401b2b2eae37054 /apps/keymaps/keymap-clip.c
parent662f7576bfe5ed3f8a1b6d606cc7cc114a814791 (diff)
downloadrockbox-bc3a0795225553ccd7465ce977a8f0dc435b166a.tar.gz
rockbox-bc3a0795225553ccd7465ce977a8f0dc435b166a.zip
clip+/zip: add FMS soft lock action
Change-Id: Iba5cb8b29ad06080d04105d6f9ef2c62e81d4f36 Reviewed-on: http://gerrit.rockbox.org/491 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
Diffstat (limited to 'apps/keymaps/keymap-clip.c')
-rwxr-xr-xapps/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 0caf0de360..78cefbe30e 100755
--- a/apps/keymaps/keymap-clip.c
+++ b/apps/keymaps/keymap-clip.c
@@ -255,6 +255,10 @@ static const struct button_mapping button_context_radio[] = {
{ ACTION_SETTINGS_DEC, BUTTON_VOL_DOWN, BUTTON_NONE },
{ ACTION_SETTINGS_DECREPEAT,BUTTON_VOL_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__NEXTLIST(CONTEXT_SETTINGS)
}; /* button_context_radio */