Added isReady function to HIDBoot

Fixes #103
This commit is contained in:
Kristian Sloth Lauszus 2014-10-31 15:57:39 -07:00
parent 46dd720b8f
commit d5e900f833

View file

@ -212,6 +212,10 @@ public:
return bAddress; return bAddress;
}; };
virtual bool isReady() {
return bPollEnable;
};
// UsbConfigXtracter implementation // UsbConfigXtracter implementation
virtual void EndpointXtract(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep); virtual void EndpointXtract(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep);