summaryrefslogtreecommitdiff
path: root/apps/settings_list.c
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2008-01-21 09:48:44 +0000
committerSteve Bavin <pondlife@pondlife.me>2008-01-21 09:48:44 +0000
commitea358a1fdcb74efa645194a9d35f9442a44034c5 (patch)
treef34a7f5f7e369420e87e2fa48ceb4f2c1496b0da /apps/settings_list.c
parentcba886d9b75c21ee1e81b70dbd7fc234d2288f66 (diff)
Keyclick option (FS#7307). Disabled by default, go into System settings to enable it. WARNING: PortalPlayer targets reportedly have a problem with this, so don't enable it on those unless you want to risk burning your ears with horrible noise. This is probably a bug in pcmbuf_beep(), and I'm hoping that someone who has an affected target will look into it and fix it as a result of this commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16132 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r--apps/settings_list.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index 1abc154825..a767732c3e 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -1180,6 +1180,13 @@ const struct settings_list settings[] = {
#if CONFIG_TUNER
SYSTEM_SETTING(0, statusbar_forced, 0),
#endif
+#if CONFIG_CODEC == SWCODEC
+ /* keyclick */
+ CHOICE_SETTING(0, keyclick, LANG_KEYCLICK, 0,
+ "keyclick", "off,weak,moderate,strong", NULL, 4,
+ ID2P(LANG_OFF), ID2P(LANG_WEAK), ID2P(LANG_MODERATE), ID2P(LANG_STRONG)),
+ OFFON_SETTING(0, keyclick_repeats, LANG_KEYCLICK_REPEATS, false, "keyclick repeats", NULL),
+#endif /* CONFIG_CODEC == SWCODEC */
};
const int nb_settings = sizeof(settings)/sizeof(*settings);