mirror of
https://github.com/T-vK/ESP32-BLE-Keyboard.git
synced 2026-02-19 17:31:29 +01:00
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