forked from len0rd/rockbox
long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5845 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f997199ff8
commit
5804664fe7
2 changed files with 4 additions and 4 deletions
|
|
@ -159,8 +159,8 @@ struct plugin_api {
|
||||||
void (*splash)(int ticks, bool center, const char *fmt, ...);
|
void (*splash)(int ticks, bool center, const char *fmt, ...);
|
||||||
|
|
||||||
/* button */
|
/* button */
|
||||||
int (*button_get)(bool block);
|
long (*button_get)(bool block);
|
||||||
int (*button_get_w_tmo)(int ticks);
|
long (*button_get_w_tmo)(int ticks);
|
||||||
int (*button_status)(void);
|
int (*button_status)(void);
|
||||||
void (*button_clear_queue)(void);
|
void (*button_clear_queue)(void);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -187,7 +187,7 @@ static int get_raw_button (void)
|
||||||
/*
|
/*
|
||||||
* Timeout after TICKS unless a key is pressed.
|
* Timeout after TICKS unless a key is pressed.
|
||||||
*/
|
*/
|
||||||
int button_get_w_tmo(int ticks)
|
long button_get_w_tmo(int ticks)
|
||||||
{
|
{
|
||||||
int bits;
|
int bits;
|
||||||
int i=0;
|
int i=0;
|
||||||
|
|
@ -210,7 +210,7 @@ int button_get_w_tmo(int ticks)
|
||||||
* BUTTON_HELD bit is while the button is being held.
|
* BUTTON_HELD bit is while the button is being held.
|
||||||
* BUTTON_REL bit is set when button has been released.
|
* BUTTON_REL bit is set when button has been released.
|
||||||
*/
|
*/
|
||||||
int button_get(bool block)
|
long button_get(bool block)
|
||||||
{
|
{
|
||||||
int bits;
|
int bits;
|
||||||
do {
|
do {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue