M:Robe 500: Move all remote specific code into a common file for reuse on other playe...
[kugel-rb.git] / firmware / target / arm / tms320dm320 / mrobe-500 / lcd-remote-target.h
blob2c44bf43b4799ea137bed6818a00a6946cb978cb
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id: $
10 * Copyright (C) 2009 by Karl Kurbjun
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.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
21 #ifndef LCD_REMOTE_TARGET_H
22 #define LCD_REMOTE_TARGET_H
24 #define REMOTE_INIT_LCD 1
25 #define REMOTE_DEINIT_LCD 2
27 void lcd_remote_powersave(bool on);
28 void lcd_remote_set_invert_display(bool yesno);
29 //void lcd_remote_set_flip(bool yesno);
31 bool remote_detect(void);
32 void lcd_remote_init_device(void);
33 void lcd_remote_on(void);
34 void lcd_remote_off(void);
35 void lcd_remote_update(void);
36 void lcd_remote_update_rect(int, int, int, int);
38 #ifndef SIMULATOR
39 void _remote_backlight_on(void);
40 void _remote_backlight_off(void);
41 #endif
43 extern bool remote_initialized;
45 void lcd_remote_sleep(void);
47 int remote_read_device(void);
48 bool remote_button_hold(void);
50 #endif