forked from len0rd/rockbox
remote_detect(): move to lcd-remote.h
Reorganize lcd-remote.h so it works for iaudio-m3 too git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31605 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
666f2e61f0
commit
50f96943be
8 changed files with 61 additions and 62 deletions
|
|
@ -21,8 +21,6 @@
|
|||
#ifndef LCD_REMOTE_TARGET_H
|
||||
#define LCD_REMOTE_TARGET_H
|
||||
|
||||
bool remote_detect(void); /* returns detection status */
|
||||
|
||||
void lcd_remote_backlight(bool on);
|
||||
|
||||
bool lcd_remote_read_device(unsigned char *data);
|
||||
|
|
|
|||
|
|
@ -26,8 +26,6 @@
|
|||
|
||||
void lcd_remote_powersave(bool on);
|
||||
|
||||
bool remote_detect(void);
|
||||
|
||||
#ifndef SIMULATOR
|
||||
void _remote_backlight_on(void);
|
||||
void _remote_backlight_off(void);
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#define REMOTE_INIT_LCD 1
|
||||
#define REMOTE_DEINIT_LCD 2
|
||||
|
||||
bool remote_detect(void);
|
||||
void lcd_remote_powersave(bool on);
|
||||
void lcd_remote_poweroff(void); /* for when remote is plugged during shutdown*/
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
#include "button.h"
|
||||
#include "backlight.h"
|
||||
#include "adc.h"
|
||||
#include "lcd-remote-target.h"
|
||||
#include "lcd-remote.h"
|
||||
|
||||
static bool hold_button = false;
|
||||
static bool remote_hold_button = false;
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
#include "button.h"
|
||||
#include "backlight.h"
|
||||
#include "adc.h"
|
||||
#include "lcd-remote-target.h"
|
||||
#include "lcd-remote.h"
|
||||
|
||||
/* have buttons scan by default */
|
||||
static bool button_scan_on = true;
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
#include "button.h"
|
||||
#include "backlight.h"
|
||||
#include "adc.h"
|
||||
#include "lcd-remote-target.h"
|
||||
#include "lcd-remote.h"
|
||||
|
||||
/* have buttons scan by default */
|
||||
static bool button_scan_on = true;
|
||||
|
|
|
|||
|
|
@ -29,6 +29,4 @@ void lcd_remote_emireduce(bool state);
|
|||
#endif
|
||||
void lcd_remote_powersave(bool on);
|
||||
|
||||
bool remote_detect(void);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue