diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2010-06-05 11:48:12 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2010-06-05 11:48:12 +0000 |
| commit | 57dcfe0eee31364771d71fe32395058de3af3fa6 (patch) | |
| tree | 3240263d08ffce6f7596ab2f1c029007cee30454 /firmware/export | |
| parent | 8598a2c82168ca60937b4a7ec370b56ecfc2a57f (diff) | |
| download | rockbox-57dcfe0eee31364771d71fe32395058de3af3fa6.zip rockbox-57dcfe0eee31364771d71fe32395058de3af3fa6.tar.gz rockbox-57dcfe0eee31364771d71fe32395058de3af3fa6.tar.bz2 rockbox-57dcfe0eee31364771d71fe32395058de3af3fa6.tar.xz | |
Implement backlight brightness for iPod G4 greyscale and iPod Color/Photo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26573 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
| -rw-r--r-- | firmware/export/config/ipod4g.h | 6 | ||||
| -rw-r--r-- | firmware/export/config/ipodcolor.h | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/firmware/export/config/ipod4g.h b/firmware/export/config/ipod4g.h index 61f1238..b9251e7 100644 --- a/firmware/export/config/ipod4g.h +++ b/firmware/export/config/ipod4g.h @@ -115,6 +115,12 @@ /* Define this for LCD backlight available */ #define HAVE_BACKLIGHT +#define HAVE_BACKLIGHT_BRIGHTNESS + +/* Main LCD backlight brightness range and defaults */ +#define MIN_BRIGHTNESS_SETTING 1 +#define MAX_BRIGHTNESS_SETTING 31 +#define DEFAULT_BRIGHTNESS_SETTING 20 /* define this if the unit uses a scrollwheel for navigation */ #define HAVE_SCROLLWHEEL diff --git a/firmware/export/config/ipodcolor.h b/firmware/export/config/ipodcolor.h index ba546e8..5448cb7 100644 --- a/firmware/export/config/ipodcolor.h +++ b/firmware/export/config/ipodcolor.h @@ -99,6 +99,12 @@ /* Define this for LCD backlight available */ #define HAVE_BACKLIGHT +#define HAVE_BACKLIGHT_BRIGHTNESS + +/* Main LCD backlight brightness range and defaults */ +#define MIN_BRIGHTNESS_SETTING 1 +#define MAX_BRIGHTNESS_SETTING 31 +#define DEFAULT_BRIGHTNESS_SETTING 20 /* define this if the unit uses a scrollwheel for navigation */ #define HAVE_SCROLLWHEEL |