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:
parent
63ead774d5
commit
95cf63b294
68 changed files with 27 additions and 502 deletions
|
|
@ -22,15 +22,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);
|
||||
|
||||
/* Button codes for Samsung YH-820, 920, 925 */
|
||||
|
||||
/* Main unit's buttons */
|
||||
|
|
@ -46,9 +39,6 @@ int button_read_device(void);
|
|||
|
||||
#define BUTTON_MAIN 0x000000ff
|
||||
|
||||
/* No Remote control */
|
||||
#define BUTTON_REMOTE 0
|
||||
|
||||
#define POWEROFF_BUTTON BUTTON_PLAY
|
||||
#define POWEROFF_COUNT 15
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue