mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
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:
parent
63ead774d5
commit
95cf63b294
68 changed files with 27 additions and 502 deletions
|
|
@ -27,9 +27,6 @@
|
|||
#define HAS_BUTTON_HOLD
|
||||
#endif
|
||||
|
||||
bool button_hold(void);
|
||||
void button_init_device(void);
|
||||
int button_read_device(int *data);
|
||||
void button_set_touch_available(void);
|
||||
|
||||
/* Main unit's buttons */
|
||||
|
|
@ -72,9 +69,6 @@ void button_set_touch_available(void);
|
|||
BUTTON_BOTTOMRIGHT)
|
||||
#endif
|
||||
|
||||
/* No remote */
|
||||
#define BUTTON_REMOTE 0
|
||||
|
||||
/* Software power-off */
|
||||
#define POWEROFF_BUTTON BUTTON_POWER
|
||||
#define POWEROFF_COUNT 10
|
||||
|
|
|
|||
|
|
@ -21,15 +21,8 @@
|
|||
#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);
|
||||
int button_read_device(void);
|
||||
|
||||
/* Main unit's buttons */
|
||||
#define BUTTON_SELECT 0x00000001
|
||||
#define BUTTON_VOL_UP 0x00000002
|
||||
|
|
@ -48,9 +41,6 @@ int button_read_device(void);
|
|||
#define BUTTON_MAIN (BUTTON_SELECT | BUTTON_VOL_UP | BUTTON_VOL_DOWN | BUTTON_MENU \
|
||||
BUTTON_MENU | BUTTON_BACK | BUTTON_REWIND | BUTTON_FAST_FWD)
|
||||
|
||||
/* No remote */
|
||||
#define BUTTON_REMOTE 0
|
||||
|
||||
#define BUTTON_POWER 0 /* HACK */
|
||||
|
||||
/* Software power-off */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue