From 57dcfe0eee31364771d71fe32395058de3af3fa6 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sat, 5 Jun 2010 11:48:12 +0000 Subject: 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 --- firmware/export/config/ipod4g.h | 6 ++++++ firmware/export/config/ipodcolor.h | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'firmware/export') diff --git a/firmware/export/config/ipod4g.h b/firmware/export/config/ipod4g.h index 61f12389d8..b9251e72fe 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 ba546e85cb..5448cb76b7 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 -- cgit v1.2.3