Add setBattery to BLE HID devices (#1246)
This commit was merged in pull request #1246.
This commit is contained in:
@@ -45,6 +45,10 @@ void KeyboardBLE_::end(void) {
|
||||
PicoBluetoothBLEHID.end();
|
||||
}
|
||||
|
||||
void KeyboardBLE_::setBattery(int lvl) {
|
||||
PicoBluetoothBLEHID.setBattery(lvl);
|
||||
}
|
||||
|
||||
void KeyboardBLE_::sendReport(KeyReport* keys) {
|
||||
hid_keyboard_report_t data;
|
||||
data.modifier = keys->modifiers;
|
||||
|
||||
Reference in New Issue
Block a user