modified to compile for me
Fork of F401RE-USBHost by
USBHostHID/USBHostMouse.h
- Committer:
- va009039
- Date:
- 2014-01-25
- Revision:
- 3:a3872f7593e2
- Parent:
- USBHostMouse.h@ 0:5160ee0c522d
- Child:
- 8:6463cd1964c0
File content as of revision 3:a3872f7593e2:
// 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; };