summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorFranklin Wei <frankhwei536@gmail.com>2016-06-13 17:51:47 -0400
committerFranklin Wei <frankhwei536@gmail.com>2016-06-13 17:53:00 -0400
commit6cf15b3627fec293d8801223175f50ae747fed45 (patch)
tree4c2cf7dc0d7e2bcd01d48e5e0befce2e4430ce31 /apps/plugin.h
parent8d915599d9af815973ab16990cadea82ae2db0c6 (diff)
downloadrockbox-6cf15b3627fec293d8801223175f50ae747fed45.zip
rockbox-6cf15b3627fec293d8801223175f50ae747fed45.tar.gz
rockbox-6cf15b3627fec293d8801223175f50ae747fed45.tar.bz2
rockbox-6cf15b3627fec293d8801223175f50ae747fed45.tar.xz
OTP plugin: add typing code over USB
* some code by pamaury Change-Id: Ie333e429364124fda312e1da01730fe516adffa5
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index f781f60..cf1937e 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -160,12 +160,12 @@ void* plugin_get_buffer(size_t *buffer_size);
#define PLUGIN_MAGIC 0x526F634B /* RocK */
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 233
+#define PLUGIN_API_VERSION 234
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
new function which are "waiting" at the end of the function table) */
-#define PLUGIN_MIN_API_VERSION 233
+#define PLUGIN_MIN_API_VERSION 234
/* plugin return codes */
/* internal returns start at 0x100 to make exit(1..255) work */
@@ -561,6 +561,7 @@ struct plugin_api {
void (*usb_acknowledge)(long id);
#ifdef USB_ENABLE_HID
void (*usb_hid_send)(usage_page_t usage_page, int id);
+ uint8_t (*usb_hid_leds)(void);
#endif
#ifdef RB_PROFILE
void (*profile_thread)(void);