modified to compile for me

Dependencies:   FATFileSystem

Dependents:   N64_Output_XPAD

Fork of F401RE-USBHost by Norimasa Okamoto

USBHostMouse.h

Committer:
va009039
Date:
2014-01-18
Revision:
0:5160ee0c522d

File content as of revision 0:5160ee0c522d:

// 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;
};