blob: cbb100b64559ea5c1c0a837645f59a3a1b6427a3 [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
Marcin Bukat89ba7e82015-01-09 00:22:40 +010027bool backlight_hw_init(void);
28void backlight_hw_on(void);
29void backlight_hw_off(void);
Thomas Martitza7f4e1f2009-04-29 22:24:40 +000030
Thomas Martitz0a5beba2009-04-26 02:27:11 +000031#ifdef HAVE_BACKLIGHT_BRIGHTNESS
Marcin Bukat89ba7e82015-01-09 00:22:40 +010032void backlight_hw_brightness(int val);
Thomas Martitz0a5beba2009-04-26 02:27:11 +000033#endif /* HAVE_BACKLIGHT_BRIGHTNESS */
34#ifdef HAVE_BUTTON_LIGHT
Marcin Bukat9ffd9322015-01-12 12:02:24 +010035void buttonlight_hw_on(void);
36void buttonlight_hw_off(void);
Thomas Martitz0a5beba2009-04-26 02:27:11 +000037#ifdef HAVE_BUTTONLIGHT_BRIGHTNESS
Marcin Bukat200ca662015-01-12 13:25:14 +010038void buttonlight_hw_brightness(int val);
Thomas Martitz0a5beba2009-04-26 02:27:11 +000039#endif /* HAVE_BUTTONLIGHT_BRIGHTNESS */
40#endif /* HAVE_BUTTON_LIGHT */
41
Thomas Martitza7f4e1f2009-04-29 22:24:40 +000042#endif /* BACKLIGHT_SIM_H */
43