diff options
| author | Rani Hod <raenye@gmail.com> | 2006-08-08 22:03:56 +0000 |
|---|---|---|
| committer | Rani Hod <raenye@gmail.com> | 2006-08-08 22:03:56 +0000 |
| commit | c9f59e6f75bcfa25a563fedd77bfa77b3617f133 (patch) | |
| tree | ceff51afb679acb2935ed18072384819abf4281e /apps/settings.h | |
| parent | f8866a3a9c3a12b72e87ae96445eca1b52ed23fb (diff) | |
| download | rockbox-c9f59e6f75bcfa25a563fedd77bfa77b3617f133.zip rockbox-c9f59e6f75bcfa25a563fedd77bfa77b3617f133.tar.gz rockbox-c9f59e6f75bcfa25a563fedd77bfa77b3617f133.tar.bz2 rockbox-c9f59e6f75bcfa25a563fedd77bfa77b3617f133.tar.xz | |
Accepted FS #5772 by Michael Sevakis
1. X5 lcd sleep
2. #define HAVE_LCD_ENABLE
3. add "backlight (on hold switch)" setting, adapted from FS #5735
Note that the while(1) yield ==> asm("halt") part is NOT commited here,
I prefer it would be discussed separately.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10489 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
| -rw-r--r-- | apps/settings.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h index 4ab2909..369e1eb 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -531,7 +531,13 @@ struct user_settings #ifdef HAVE_REMOTE_LCD bool remote_bl_filter_first_keypress; /* filter first remote keypress when remote dark? */ #endif +#ifdef HAS_BUTTON_HOLD + int backlight_on_button_hold; #endif +#ifdef HAVE_LCD_SLEEP + int lcd_sleep_after_backlight_off; +#endif +#endif /* CONFIG_BACKLIGHT */ #ifdef HAVE_LCD_BITMAP unsigned char kbd_file[MAX_FILENAME+1]; /* last keyboard */ |