Skip to content

Commit d687067

Browse files
committed
release media keys when releaseAll() is called
- Originally raised in T-vK/ESP32-BLE-Keyboard#289 - PR originally raised as T-vK/ESP32-BLE-Keyboard#290
1 parent 696442d commit d687067

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

NimBleKeyboard.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ void BleKeyboard::releaseAll(void)
462462
_mediaKeyReport[0] = 0;
463463
_mediaKeyReport[1] = 0;
464464
sendReport(&_keyReport);
465+
sendReport(&_mediaKeyReport);
465466
}
466467

467468
size_t BleKeyboard::write(uint8_t c)

0 commit comments

Comments
 (0)