summaryrefslogtreecommitdiffstats
path: root/uisimulator/x11/lcd-x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/x11/lcd-x11.c')
-rw-r--r--uisimulator/x11/lcd-x11.c16
1 files changed, 16 insertions, 0 deletions
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
+