Release keyboard keys on begin() and end()

This commit is contained in:
NicoHood 2015-09-19 16:54:47 +02:00
parent e7b6591bc5
commit 7acc31ca75

View file

@ -91,10 +91,12 @@ HIDDevice((uint8_t*)_hidReportDescriptor, sizeof(_hidReportDescriptor), HID_REPO
void Keyboard_::begin(void)
{
releaseAll();
}
void Keyboard_::end(void)
{
releaseAll();
}
void Keyboard_::sendReport(HID_KeyboardReport_Data_t* keys)