From a70c6b9b1e2bcf7a5a207017d6c40f5254f6ef98 Mon Sep 17 00:00:00 2001 From: Hristo Kovachev Date: Sat, 25 Mar 2006 19:16:45 +0000 Subject: Patch #4913 by David Rothenberger with some changes by me: add only backlight on first keypress to the lcd remotes, too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9253 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/backlight.h | 1 + firmware/export/button.h | 3 +++ 2 files changed, 4 insertions(+) (limited to 'firmware/export') diff --git a/firmware/export/backlight.h b/firmware/export/backlight.h index f371dc1423..508d472381 100644 --- a/firmware/export/backlight.h +++ b/firmware/export/backlight.h @@ -43,6 +43,7 @@ void remote_backlight_on(void); void remote_backlight_off(void); void remote_backlight_set_timeout(int index); void remote_backlight_set_timeout_plugged(int index); +bool is_remote_backlight_on(void); #endif #ifdef SIMULATOR diff --git a/firmware/export/button.h b/firmware/export/button.h index a142540511..2290b284ce 100644 --- a/firmware/export/button.h +++ b/firmware/export/button.h @@ -44,6 +44,9 @@ void button_set_flip(bool flip); /* turn 180 degrees */ #endif #ifdef CONFIG_BACKLIGHT void set_backlight_filter_keypress(bool value); +#ifdef HAVE_REMOTE_LCD +void set_remote_backlight_filter_keypress(bool value); +#endif #endif #ifdef HAS_BUTTON_HOLD -- cgit v1.2.3