diff options
author | Hristo Kovachev <bger@rockbox.org> | 2006-03-25 19:16:45 +0000 |
---|---|---|
committer | Hristo Kovachev <bger@rockbox.org> | 2006-03-25 19:16:45 +0000 |
commit | a70c6b9b1e2bcf7a5a207017d6c40f5254f6ef98 (patch) | |
tree | e39563c6b848d65c0700875676c01da43d3f645b /firmware/export | |
parent | 7b9ab84e7d37a761a7b4a5817c6da71213cc17ad (diff) | |
download | rockbox-a70c6b9b1e2bcf7a5a207017d6c40f5254f6ef98.tar.gz rockbox-a70c6b9b1e2bcf7a5a207017d6c40f5254f6ef98.zip |
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
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/backlight.h | 1 | ||||
-rw-r--r-- | firmware/export/button.h | 3 |
2 files changed, 4 insertions, 0 deletions
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); | |||
43 | void remote_backlight_off(void); | 43 | void remote_backlight_off(void); |
44 | void remote_backlight_set_timeout(int index); | 44 | void remote_backlight_set_timeout(int index); |
45 | void remote_backlight_set_timeout_plugged(int index); | 45 | void remote_backlight_set_timeout_plugged(int index); |
46 | bool is_remote_backlight_on(void); | ||
46 | #endif | 47 | #endif |
47 | 48 | ||
48 | #ifdef SIMULATOR | 49 | #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 */ | |||
44 | #endif | 44 | #endif |
45 | #ifdef CONFIG_BACKLIGHT | 45 | #ifdef CONFIG_BACKLIGHT |
46 | void set_backlight_filter_keypress(bool value); | 46 | void set_backlight_filter_keypress(bool value); |
47 | #ifdef HAVE_REMOTE_LCD | ||
48 | void set_remote_backlight_filter_keypress(bool value); | ||
49 | #endif | ||
47 | #endif | 50 | #endif |
48 | 51 | ||
49 | #ifdef HAS_BUTTON_HOLD | 52 | #ifdef HAS_BUTTON_HOLD |