summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2008-05-05 21:31:34 +0000
committerRob Purchase <shotofadds@rockbox.org>2008-05-05 21:31:34 +0000
commit81803eba1b267f3150cc176c744e8f9fbc5eb9c4 (patch)
tree94dda50cf07ca7ae88f683d9cc17fb56d776a88d /apps/plugin.h
parentab40aa94770c49fa6d0e19e2d407b8c8335a6307 (diff)
downloadrockbox-81803eba1b267f3150cc176c744e8f9fbc5eb9c4.tar.gz
rockbox-81803eba1b267f3150cc176c744e8f9fbc5eb9c4.zip
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.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index c9d118e873..8839271f43 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -120,7 +120,7 @@
120#define PLUGIN_MAGIC 0x526F634B /* RocK */ 120#define PLUGIN_MAGIC 0x526F634B /* RocK */
121 121
122/* increase this every time the api struct changes */ 122/* increase this every time the api struct changes */
123#define PLUGIN_API_VERSION 109 123#define PLUGIN_API_VERSION 110
124 124
125/* update this to latest version if a change to the api struct breaks 125/* update this to latest version if a change to the api struct breaks
126 backwards compatibility (and please take the opportunity to sort in any 126 backwards compatibility (and please take the opportunity to sort in any
@@ -731,6 +731,12 @@ struct plugin_api {
731#ifdef HAVE_LCD_INVERT 731#ifdef HAVE_LCD_INVERT
732 void (*lcd_set_invert_display)(bool yesno); 732 void (*lcd_set_invert_display)(bool yesno);
733#endif /* HAVE_LCD_INVERT */ 733#endif /* HAVE_LCD_INVERT */
734#ifdef HAVE_BUTTON_DATA
735 intptr_t (*button_get_data)(void);
736#endif /* HAVE_BUTTON_DATA */
737#ifdef HAVE_TOUCHPAD
738 void (*touchpad_set_mode)(enum touchpad_mode);
739#endif /* HAVE_TOUCHPAD */
734}; 740};
735 741
736/* plugin header */ 742/* plugin header */