mirror of
https://github.com/T-vK/ESP32-BLE-Keyboard.git
synced 2026-03-13 08:30:59 +08:00
Merge pull request #290 from muddyfeet/master
Fixed MediaKeys releasing on ReleaseAll
This commit is contained in:
@@ -468,6 +468,7 @@ void BleKeyboard::releaseAll(void)
|
||||
_mediaKeyReport[0] = 0;
|
||||
_mediaKeyReport[1] = 0;
|
||||
sendReport(&_keyReport);
|
||||
sendReport(&_mediaKeyReport);
|
||||
}
|
||||
|
||||
size_t BleKeyboard::write(uint8_t c)
|
||||
@@ -543,4 +544,4 @@ void BleKeyboard::delay_ms(uint64_t ms) {
|
||||
}
|
||||
while(esp_timer_get_time() < e) {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user