1
0
Fork 0
forked from len0rd/rockbox

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,21 +22,6 @@
#ifndef _BUTTON_TARGET_H_
#define _BUTTON_TARGET_H_
#include <stdbool.h>
#include "config.h"
/*
#define HAS_BUTTON_HOLD
bool button_hold(void);
*/
void button_init_device(void);
#ifdef HAVE_BUTTON_DATA
int button_read_device(int *data);
#else
int button_read_device(void);
#endif
/* Main unit's buttons */
#define BUTTON_UP 0x00000001
#define BUTTON_DOWN 0x00000002
@ -61,9 +46,6 @@ int button_read_device(void);
#define BUTTON_MAIN 0x1FFF
/* No remote */
#define BUTTON_REMOTE 0
/* Software power-off */
#define POWEROFF_BUTTON BUTTON_POWER
#define POWEROFF_COUNT 10