blob: b5b8ef2a3c8f7c1bdecb61b6ec7470e8e75959eb [file] [log] [blame]
Thomas Martitz0a5beba2009-04-26 02:27:11 +00001/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
Thomas Martitza7f4e1f2009-04-29 22:24:40 +00008 * $Id:$
Thomas Martitz0a5beba2009-04-26 02:27:11 +00009 *
Thomas Martitz0a5beba2009-04-26 02:27:11 +000010 * Copyright (C) 2009 by Thomas Martitz
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
Thomas Martitz0a5beba2009-04-26 02:27:11 +000021
Thomas Martitza7f4e1f2009-04-29 22:24:40 +000022#ifndef BACKLIGHT_SIM_H
23#define BACKLIGHT_SIM_H
Thomas Martitz0a5beba2009-04-26 02:27:11 +000024
Thomas Martitza7f4e1f2009-04-29 22:24:40 +000025#include "config.h"
26
Thomas Martitzb2b3f392009-05-05 08:43:32 +000027bool _backlight_init(void);
Thomas Martitza7f4e1f2009-04-29 22:24:40 +000028void _backlight_on(void);
29void _backlight_off(void);
30
Thomas Martitz0a5beba2009-04-26 02:27:11 +000031#ifdef HAVE_BACKLIGHT_BRIGHTNESS
Thomas Martitza7f4e1f2009-04-29 22:24:40 +000032void _backlight_set_brightness(int val);
Thomas Martitz0a5beba2009-04-26 02:27:11 +000033#endif /* HAVE_BACKLIGHT_BRIGHTNESS */
34#ifdef HAVE_BUTTON_LIGHT
Thomas Martitza7f4e1f2009-04-29 22:24:40 +000035void _buttonlight_on(void);
36void _buttonlight_off(void);
Thomas Martitz0a5beba2009-04-26 02:27:11 +000037#ifdef HAVE_BUTTONLIGHT_BRIGHTNESS
Thomas Martitza7f4e1f2009-04-29 22:24:40 +000038void _buttonlight_set_brightness(int val);
Thomas Martitz0a5beba2009-04-26 02:27:11 +000039#endif /* HAVE_BUTTONLIGHT_BRIGHTNESS */
40#endif /* HAVE_BUTTON_LIGHT */
41
42#ifdef HAVE_REMOTE_LCD
Thomas Martitza7f4e1f2009-04-29 22:24:40 +000043void _remote_backlight_on(void);
44void _remote_backlight_off(void);
Thomas Martitz0a5beba2009-04-26 02:27:11 +000045#endif /* HAVE_REMOTE_LCD */
46
Thomas Martitza7f4e1f2009-04-29 22:24:40 +000047
48#endif /* BACKLIGHT_SIM_H */
49