From 3ba0060ac1fa1c39596c51d4bf259142e6d1847f Mon Sep 17 00:00:00 2001 From: Dan Everton Date: Mon, 13 Feb 2006 21:46:28 +0000 Subject: Backlight support for 8-bit targets in SDL sim. Redo sound handling. Still doesn't work right, but is closer to how the actual Rockbox system does it. Move some stub functions in to Win32 and X11 sims to keep them compiling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8686 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/x11/lcd-x11.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'uisimulator/x11/lcd-x11.c') diff --git a/uisimulator/x11/lcd-x11.c b/uisimulator/x11/lcd-x11.c index 0a3b40e163..c85848c18b 100644 --- a/uisimulator/x11/lcd-x11.c +++ b/uisimulator/x11/lcd-x11.c @@ -32,6 +32,7 @@ #include "screenhack.h" #include "config.h" +#include "debug.h" /* * Specific implementations for X11, using the generic LCD API and data. @@ -244,3 +245,18 @@ void lcd_update (void) } #endif + +#ifdef CONFIG_BACKLIGHT +void sim_backlight(int value) +{ + DEBUGF("backlight: %s\n", (value > 0) ? "on" : "off"); +} +#endif + +#ifdef HAVE_REMOTE_LCD +void sim_remote_backlight(int value) +{ + DEBUGF("remote backlight: %s\n", (value > 0) ? "on" : "off"); +} +#endif + -- cgit v1.2.3