Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: F401RE-USBHostMIDI_RecieveExample
Fork of F401RE-USBHost by
Diff: USBHostMouse.h
- Revision:
- 3:a3872f7593e2
- Parent:
- 2:0cdac6bcc534
- Child:
- 4:21d651ad6987
--- a/USBHostMouse.h Thu Jan 23 08:32:54 2014 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-// Simple USBHost Mouse for FRDM-KL46Z
-#include "USBHost.h"
-
-class USBHostMouse {
-public:
- USBHostMouse() {
- host = USBHost::getHostInst();
- }
- int readReport(uint8_t* data) {
- return host->InterruptRead(data, 4);
- }
-
-private:
- USBHost * host;
-};
-
