Release keyboard keys on begin() and end()
This commit is contained in:
parent
e7b6591bc5
commit
7acc31ca75
1 changed files with 2 additions and 0 deletions
|
|
@ -91,10 +91,12 @@ HIDDevice((uint8_t*)_hidReportDescriptor, sizeof(_hidReportDescriptor), HID_REPO
|
||||||
|
|
||||||
void Keyboard_::begin(void)
|
void Keyboard_::begin(void)
|
||||||
{
|
{
|
||||||
|
releaseAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Keyboard_::end(void)
|
void Keyboard_::end(void)
|
||||||
{
|
{
|
||||||
|
releaseAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Keyboard_::sendReport(HID_KeyboardReport_Data_t* keys)
|
void Keyboard_::sendReport(HID_KeyboardReport_Data_t* keys)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue