diff options
| author | Rob Purchase <shotofadds@rockbox.org> | 2008-05-05 21:31:34 +0000 |
|---|---|---|
| committer | Rob Purchase <shotofadds@rockbox.org> | 2008-05-05 21:31:34 +0000 |
| commit | 81803eba1b267f3150cc176c744e8f9fbc5eb9c4 (patch) | |
| tree | 94dda50cf07ca7ae88f683d9cc17fb56d776a88d /apps/plugin.h | |
| parent | ab40aa94770c49fa6d0e19e2d407b8c8335a6307 (diff) | |
| download | rockbox-81803eba1b267f3150cc176c744e8f9fbc5eb9c4.zip rockbox-81803eba1b267f3150cc176c744e8f9fbc5eb9c4.tar.gz rockbox-81803eba1b267f3150cc176c744e8f9fbc5eb9c4.tar.bz2 rockbox-81803eba1b267f3150cc176c744e8f9fbc5eb9c4.tar.xz | |
Simple test_touchpad plugin for D2 and m:robe500 (not built by default).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17392 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index c9d118e..8839271 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -120,7 +120,7 @@ #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 109 +#define PLUGIN_API_VERSION 110 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -731,6 +731,12 @@ struct plugin_api { #ifdef HAVE_LCD_INVERT void (*lcd_set_invert_display)(bool yesno); #endif /* HAVE_LCD_INVERT */ +#ifdef HAVE_BUTTON_DATA + intptr_t (*button_get_data)(void); +#endif /* HAVE_BUTTON_DATA */ +#ifdef HAVE_TOUCHPAD + void (*touchpad_set_mode)(enum touchpad_mode); +#endif /* HAVE_TOUCHPAD */ }; /* plugin header */ |