button-target.h : move prototypes to button.h

no need to define BUTTON_REMOTE anymore

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31620 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2012-01-08 00:07:19 +00:00
parent 63ead774d5
commit 95cf63b294
68 changed files with 27 additions and 502 deletions

View file

@ -22,17 +22,12 @@
#ifndef _BUTTON_TARGET_H_
#define _BUTTON_TARGET_H_
#include <stdbool.h>
#include "config.h"
#define MEP_BUTTON_HEADER 0x1a
#define MEP_BUTTON_ID 0x09
#define MEP_ABSOLUTE_HEADER 0x0b
bool button_hold(void);
void button_init_device(void);
int button_read_device(void);
#ifndef BOOTLOADER
void button_int(void);
#endif
@ -60,7 +55,6 @@ void button_int(void);
#ifdef HAVE_REMOTE_LCD
void headphones_int(void);
bool remote_button_hold(void);
/* Remote control's buttons */
#define BUTTON_RC_PLAY 0x00010000
@ -77,8 +71,6 @@ bool remote_button_hold(void);
#define HAS_REMOTE_BUTTON_HOLD
#define RC_POWEROFF_BUTTON BUTTON_RC_PLAY
#else
#define BUTTON_REMOTE 0
#endif /* HAVE_REMOTE_LCD */
#endif /* _BUTTON_TARGET_H_ */