summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2006-09-10 02:00:40 +0000
committerMichael Sevakis <jethead71@rockbox.org>2006-09-10 02:00:40 +0000
commit3d2e10bcbd13ec48decafe49f32afcc12c5e185a (patch)
tree60c490e727a28fd2359c3d185cf2a4f5fd8c328b /apps/settings.h
parent24ca76ffec3e0d782f75ac1cca2c0b2c8b71f5db (diff)
Added remote backlight on hold option to players with remote hold switch. Disabled IRQs while reading pcf50606 ADC. This seems to have stopped buttons becoming unresponsive when using remote. Maybe fixes other button glitches as well?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10911 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/apps/settings.h b/apps/settings.h
index b66e96b765..561dc59375 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -354,11 +354,15 @@ struct user_settings
then according to timeout_values[] */
int remote_backlight_timeout_plugged;
bool remote_caption_backlight; /* turn on backlight at end and start of track */
+#ifdef HAS_REMOTE_BUTTON_HOLD
+ int remote_backlight_on_button_hold; /* what to do with remote backlight when hold
+ switch is on */
+#endif
#ifdef HAVE_REMOTE_LCD_TICKING
bool remote_reduce_ticking; /* 0=normal operation,
1=EMI reduce on with cost more CPU. */
#endif
-#endif
+#endif /* HAVE_REMOTE_LCD */
bool next_folder; /* move to next folder */
bool runtimedb; /* runtime database active? */
@@ -446,10 +450,12 @@ struct user_settings
bool remote_bl_filter_first_keypress; /* filter first remote keypress when remote dark? */
#endif
#ifdef HAS_BUTTON_HOLD
- int backlight_on_button_hold;
+ int backlight_on_button_hold; /* what to do with backlight when hold
+ switch is on */
#endif
#ifdef HAVE_LCD_SLEEP
- int lcd_sleep_after_backlight_off;
+ int lcd_sleep_after_backlight_off; /* when to put lcd to sleep after backlight
+ has turned off */
#endif
#endif /* CONFIG_BACKLIGHT */