forked from len0rd/rockbox
woopsies
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17522 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
92dae7c50b
commit
7e26412dd1
1 changed files with 6 additions and 6 deletions
|
|
@ -120,12 +120,12 @@
|
||||||
#define PLUGIN_MAGIC 0x526F634B /* RocK */
|
#define PLUGIN_MAGIC 0x526F634B /* RocK */
|
||||||
|
|
||||||
/* increase this every time the api struct changes */
|
/* increase this every time the api struct changes */
|
||||||
#define PLUGIN_API_VERSION 113
|
#define PLUGIN_API_VERSION 114
|
||||||
|
|
||||||
/* update this to latest version if a change to the api struct breaks
|
/* update this to latest version if a change to the api struct breaks
|
||||||
backwards compatibility (and please take the opportunity to sort in any
|
backwards compatibility (and please take the opportunity to sort in any
|
||||||
new function which are "waiting" at the end of the function table) */
|
new function which are "waiting" at the end of the function table) */
|
||||||
#define PLUGIN_MIN_API_VERSION 113
|
#define PLUGIN_MIN_API_VERSION 114
|
||||||
|
|
||||||
/* plugin return codes */
|
/* plugin return codes */
|
||||||
enum plugin_status {
|
enum plugin_status {
|
||||||
|
|
@ -317,18 +317,18 @@ struct plugin_api {
|
||||||
/* button */
|
/* button */
|
||||||
long (*button_get)(bool block);
|
long (*button_get)(bool block);
|
||||||
long (*button_get_w_tmo)(int ticks);
|
long (*button_get_w_tmo)(int ticks);
|
||||||
|
int (*button_status)(void);
|
||||||
#ifdef HAVE_BUTTON_DATA
|
#ifdef HAVE_BUTTON_DATA
|
||||||
intptr_t (*button_get_data)(void);
|
intptr_t (*button_get_data)(void);
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_TOUCHPAD
|
|
||||||
void (*touchpad_set_mode)(enum touchpad_mode);
|
|
||||||
#endif
|
|
||||||
int (*button_status)(void);
|
|
||||||
void (*button_clear_queue)(void);
|
void (*button_clear_queue)(void);
|
||||||
int (*button_queue_count)(void);
|
int (*button_queue_count)(void);
|
||||||
#ifdef HAS_BUTTON_HOLD
|
#ifdef HAS_BUTTON_HOLD
|
||||||
bool (*button_hold)(void);
|
bool (*button_hold)(void);
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_TOUCHPAD
|
||||||
|
void (*touchpad_set_mode)(enum touchpad_mode);
|
||||||
|
#endif
|
||||||
#ifdef HAVE_BUTTON_LIGHT
|
#ifdef HAVE_BUTTON_LIGHT
|
||||||
void (*buttonlight_set_timeout)(int value);
|
void (*buttonlight_set_timeout)(int value);
|
||||||
void (*buttonlight_off)(void);
|
void (*buttonlight_off)(void);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue