Added readPollInterval function

This commit is contained in:
Kristian Sloth Lauszus 2013-02-17 01:24:10 +01:00
parent 8ca3ab8fd1
commit 797208832f

6
BTD.h
View file

@ -380,6 +380,12 @@ public:
bool motionPlusInside; bool motionPlusInside;
/** True if it's a Wii U Pro Controller. */ /** True if it's a Wii U Pro Controller. */
bool wiiUProController; bool wiiUProController;
/**
* Read the poll interval taken from the endpoint descriptors.
* @return The poll interval in ms.
*/
uint8_t readPollInterval() { return pollInterval; };
protected: protected:
/** Pointer to USB class instance. */ /** Pointer to USB class instance. */