From 81803eba1b267f3150cc176c744e8f9fbc5eb9c4 Mon Sep 17 00:00:00 2001 From: Rob Purchase Date: Mon, 5 May 2008 21:31:34 +0000 Subject: 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 --- apps/plugin.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'apps/plugin.h') 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 */ -- cgit v1.1