Thomas Martitz | 0a5beba | 2009-04-26 02:27:11 +0000 | [diff] [blame] | 1 | /*************************************************************************** |
| 2 | * __________ __ ___. |
| 3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
| 4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / |
| 5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < |
| 6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ |
| 7 | * \/ \/ \/ \/ \/ |
Thomas Martitz | a7f4e1f | 2009-04-29 22:24:40 +0000 | [diff] [blame] | 8 | * $Id:$ |
Thomas Martitz | 0a5beba | 2009-04-26 02:27:11 +0000 | [diff] [blame] | 9 | * |
Thomas Martitz | 0a5beba | 2009-04-26 02:27:11 +0000 | [diff] [blame] | 10 | * 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 Martitz | 0a5beba | 2009-04-26 02:27:11 +0000 | [diff] [blame] | 21 | |
Thomas Martitz | a7f4e1f | 2009-04-29 22:24:40 +0000 | [diff] [blame] | 22 | #ifndef BACKLIGHT_SIM_H |
| 23 | #define BACKLIGHT_SIM_H |
Thomas Martitz | 0a5beba | 2009-04-26 02:27:11 +0000 | [diff] [blame] | 24 | |
Thomas Martitz | a7f4e1f | 2009-04-29 22:24:40 +0000 | [diff] [blame] | 25 | #include "config.h" |
| 26 | |
Marcin Bukat | 89ba7e8 | 2015-01-09 00:22:40 +0100 | [diff] [blame] | 27 | bool backlight_hw_init(void); |
| 28 | void backlight_hw_on(void); |
| 29 | void backlight_hw_off(void); |
Thomas Martitz | a7f4e1f | 2009-04-29 22:24:40 +0000 | [diff] [blame] | 30 | |
Thomas Martitz | 0a5beba | 2009-04-26 02:27:11 +0000 | [diff] [blame] | 31 | #ifdef HAVE_BACKLIGHT_BRIGHTNESS |
Marcin Bukat | 89ba7e8 | 2015-01-09 00:22:40 +0100 | [diff] [blame] | 32 | void backlight_hw_brightness(int val); |
Thomas Martitz | 0a5beba | 2009-04-26 02:27:11 +0000 | [diff] [blame] | 33 | #endif /* HAVE_BACKLIGHT_BRIGHTNESS */ |
| 34 | #ifdef HAVE_BUTTON_LIGHT |
Marcin Bukat | 9ffd932 | 2015-01-12 12:02:24 +0100 | [diff] [blame] | 35 | void buttonlight_hw_on(void); |
| 36 | void buttonlight_hw_off(void); |
Thomas Martitz | 0a5beba | 2009-04-26 02:27:11 +0000 | [diff] [blame] | 37 | #ifdef HAVE_BUTTONLIGHT_BRIGHTNESS |
Marcin Bukat | 200ca66 | 2015-01-12 13:25:14 +0100 | [diff] [blame] | 38 | void buttonlight_hw_brightness(int val); |
Thomas Martitz | 0a5beba | 2009-04-26 02:27:11 +0000 | [diff] [blame] | 39 | #endif /* HAVE_BUTTONLIGHT_BRIGHTNESS */ |
| 40 | #endif /* HAVE_BUTTON_LIGHT */ |
| 41 | |
Thomas Martitz | a7f4e1f | 2009-04-29 22:24:40 +0000 | [diff] [blame] | 42 | #endif /* BACKLIGHT_SIM_H */ |
| 43 | |