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
|
|
@ -28,8 +28,26 @@
|
|||
#include "button-target.h"
|
||||
#endif
|
||||
|
||||
#ifndef BUTTON_REMOTE
|
||||
# define BUTTON_REMOTE 0
|
||||
#endif
|
||||
|
||||
extern struct event_queue button_queue;
|
||||
|
||||
void button_init_device(void);
|
||||
#ifdef HAVE_BUTTON_DATA
|
||||
int button_read_device(int *);
|
||||
#else
|
||||
int button_read_device(void);
|
||||
#endif
|
||||
|
||||
#ifdef HAS_BUTTON_HOLD
|
||||
bool button_hold(void);
|
||||
#endif
|
||||
#ifdef HAS_REMOTE_BUTTON_HOLD
|
||||
bool remote_button_hold(void);
|
||||
#endif
|
||||
|
||||
void button_init (void) INIT_ATTR;
|
||||
void button_close(void);
|
||||
int button_queue_count(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue