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)
downloadrockbox-3d2e10bcbd13ec48decafe49f32afcc12c5e185a.tar.gz
rockbox-3d2e10bcbd13ec48decafe49f32afcc12c5e185a.zip
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
354 then according to timeout_values[] */ 354 then according to timeout_values[] */
355 int remote_backlight_timeout_plugged; 355 int remote_backlight_timeout_plugged;
356 bool remote_caption_backlight; /* turn on backlight at end and start of track */ 356 bool remote_caption_backlight; /* turn on backlight at end and start of track */
357#ifdef HAS_REMOTE_BUTTON_HOLD
358 int remote_backlight_on_button_hold; /* what to do with remote backlight when hold
359 switch is on */
360#endif
357#ifdef HAVE_REMOTE_LCD_TICKING 361#ifdef HAVE_REMOTE_LCD_TICKING
358 bool remote_reduce_ticking; /* 0=normal operation, 362 bool remote_reduce_ticking; /* 0=normal operation,
359 1=EMI reduce on with cost more CPU. */ 363 1=EMI reduce on with cost more CPU. */
360#endif 364#endif
361#endif 365#endif /* HAVE_REMOTE_LCD */
362 366
363 bool next_folder; /* move to next folder */ 367 bool next_folder; /* move to next folder */
364 bool runtimedb; /* runtime database active? */ 368 bool runtimedb; /* runtime database active? */
@@ -446,10 +450,12 @@ struct user_settings
446 bool remote_bl_filter_first_keypress; /* filter first remote keypress when remote dark? */ 450 bool remote_bl_filter_first_keypress; /* filter first remote keypress when remote dark? */
447#endif 451#endif
448#ifdef HAS_BUTTON_HOLD 452#ifdef HAS_BUTTON_HOLD
449 int backlight_on_button_hold; 453 int backlight_on_button_hold; /* what to do with backlight when hold
454 switch is on */
450#endif 455#endif
451#ifdef HAVE_LCD_SLEEP 456#ifdef HAVE_LCD_SLEEP
452 int lcd_sleep_after_backlight_off; 457 int lcd_sleep_after_backlight_off; /* when to put lcd to sleep after backlight
458 has turned off */
453#endif 459#endif
454#endif /* CONFIG_BACKLIGHT */ 460#endif /* CONFIG_BACKLIGHT */
455 461