From 4b1d1b40339d98e08d1d975d4fa511a0768a7204 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 22 Apr 2007 13:02:24 +0000 Subject: e200: Make the wheel light timeout configurable (under settings > system) (FS#7067) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13244 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/backlight.h | 6 ++++++ firmware/export/config-e200.h | 3 +++ 2 files changed, 9 insertions(+) (limited to 'firmware/export') diff --git a/firmware/export/backlight.h b/firmware/export/backlight.h index 4b164c6..9bcb6e9 100644 --- a/firmware/export/backlight.h +++ b/firmware/export/backlight.h @@ -80,4 +80,10 @@ void sim_remote_backlight(int value); void backlight_set_brightness(int val); #endif /* HAVE_BACKLIGHT_BRIGHTNESS */ +#ifdef HAVE_BUTTON_LIGHT +void button_backlight_on(void); +void button_backlight_off(void); +void button_backlight_set_timeout(int index); +#endif + #endif /* BACKLIGHT_H */ diff --git a/firmware/export/config-e200.h b/firmware/export/config-e200.h index ccff38d..87d7e78 100644 --- a/firmware/export/config-e200.h +++ b/firmware/export/config-e200.h @@ -22,6 +22,9 @@ #define MAX_BRIGHTNESS_SETTING 12 #define DEFAULT_BRIGHTNESS_SETTING 6 +/* define this if you have a light associated with the buttons */ +#define HAVE_BUTTON_LIGHT + /* define this if you have access to the quickscreen */ #define HAVE_QUICKSCREEN -- cgit v1.1