summaryrefslogtreecommitdiff
path: root/stm/usb.h
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-10-25 20:53:54 +0100
committerDamien <damien.p.george@gmail.com>2013-10-25 20:53:54 +0100
commit58a1b4c6cf8b9675c56e9eebd0f620ec7b66d83f (patch)
treeeaa73f9969018ee88f5c013f63936c9665ecdcdd /stm/usb.h
parent2839168340b5ac9f947c01b42f7ddf960da81aa6 (diff)
Add USB HID support. Runs as an alternative to VCP+MSC.
Diffstat (limited to 'stm/usb.h')
-rw-r--r--stm/usb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stm/usb.h b/stm/usb.h
index 74041043e..c4b3b151f 100644
--- a/stm/usb.h
+++ b/stm/usb.h
@@ -5,3 +5,4 @@ char usb_vcp_rx_get(void);
void usb_vcp_send_str(const char* str);
void usb_vcp_send_strn(const char* str, int len);
void usb_vcp_send_strn_cooked(const char *str, int len);
+void usb_hid_send_report(uint8_t *buf); // 4 bytes for mouse: ?, x, y, ?